How to save a histogram generated with imhist() function as a png image?
6 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
the cyclist
2018 年 5 月 30 日
編集済み: the cyclist
2018 年 5 月 30 日
2 件のコメント
the cyclist
2018 年 5 月 31 日
編集済み: the cyclist
2018 年 5 月 31 日
for nf=1:6
figure
histogram(randn(100,1))
filename = sprintf('histogram_file_%d',nf);
print('-dpng',filename)
end
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!