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 commentaire

Image Analyst
Image Analyst le 10 Fév 2018
Please attach mandril_s.png and your m-file so we can test your code.

Connectez-vous pour commenter.

Réponses (2)

Hassan Mehmood Khan
Hassan Mehmood Khan le 25 Fév 2018

0 votes

  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.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by