How to save a histogram generated with imhist() function as a png image?
Ältere Kommentare anzeigen
when I save the image using imwrite() function it does not saves the axis only few spikes are saved. the code is given below.
=>> imwrite(imhist(temp),'F:\Histogram\h1.png');
Antworten (1)
the cyclist
am 30 Mai 2018
Bearbeitet: the cyclist
am 30 Mai 2018
1 Stimme
2 Kommentare
Sheikh Faishal Basher
am 31 Mai 2018
the cyclist
am 31 Mai 2018
Bearbeitet: the cyclist
am 31 Mai 2018
for nf=1:6
figure
histogram(randn(100,1))
filename = sprintf('histogram_file_%d',nf);
print('-dpng',filename)
end
Kategorien
Mehr zu Histograms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!