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 Commento

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

Accedi per commentare.

Risposte (2)

Hassan Mehmood Khan
Hassan Mehmood Khan il 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.

Richiesto:

il 10 Feb 2018

Community Treasure Hunt

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

Start Hunting!

Translated by