How can I plot an image in matlab. This is giving me a Black png image!
Afficher commentaires plus anciens
URL ='http://structures.wishartlab.com/molecules/HMDB00126/image.png'
filename='test.png'
urlwrite(URL,filename)
[y,z]=imread(filename,'png');
figure, imshow(y);
colormap(z)
This is giving me a Black image! How can i Plot it without getting all black?
2 commentaires
sixwwwwww
le 4 Déc 2013

I am getting this image from your code. Is it correct?
Rafael Freire
le 4 Déc 2013
Réponse acceptée
Plus de réponses (1)
barbara anderson
le 15 Avr 2020
0 votes
Convert it into greyscale image and plot it.
Catégories
En savoir plus sur Lighting, Transparency, and Shading 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!