How to save a histogram generated with imhist() function as a png image?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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');
0 Commenti
Risposte (1)
the cyclist
il 30 Mag 2018
Modificato: the cyclist
il 30 Mag 2018
2 Commenti
the cyclist
il 31 Mag 2018
Modificato: the cyclist
il 31 Mag 2018
for nf=1:6
figure
histogram(randn(100,1))
filename = sprintf('histogram_file_%d',nf);
print('-dpng',filename)
end
Vedere anche
Categorie
Scopri di più su Histograms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!