Why is the figure not displaying anything ?

whether i make a plot or draw a figure, the figure pops up but does not contain any image. please help.

1 Comment

Please attach mandril_s.png and your m-file so we can test your code.

Sign in to comment.

Answers (2)

  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.

Asked:

on 10 Feb 2018

Community Treasure Hunt

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

Start Hunting!