MATLAB Answers

Why is the figure not displaying anything ?

24 views (last 30 days)
Attyuttam Saha
Attyuttam Saha on 10 Feb 2018
whether i make a plot or draw a figure, the figure pops up but does not contain any image. please help.
  1 Comment
Image Analyst
Image Analyst on 10 Feb 2018
Please attach mandril_s.png and your m-file so we can test your code.

Sign in to comment.

Answers (2)

Hassan Mehmood Khan
Hassan Mehmood Khan on 25 Feb 2018
  1. Need to remove unit8 from the newImg(i,j) .
  2. It is not defined earlier in the programme.
  3. The figure in last command , need to have ';' at the end.

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by