Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Saving an image with information plotted in it.

3 vues (au cours des 30 derniers jours)
Ram
Ram le 4 Avr 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi, I would like to save an image together with the histogram plotted on the image. file1=imread('image1.bmp'); figure;imshow(file1); hold on;plot(imhist(file1),'r');hold off;
i would like to save the image that is created here. any help on this would be appreciated.
thanks, ram

Réponses (1)

Image Analyst
Image Analyst le 5 Avr 2013
Personally I think that would be hard to read, not the least of which is that the plot would be upside down. Why not just use two axes side by side or over and under and display the image and the histogram bar chart and use export_fig() to save it?

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by