about picture saving from figure
古いコメントを表示
I want to ask about the picture saving.
If I have picture that show by "matlab figure" then,I must save the picture
but,when I choose save button for xxx.bmp ,the picture is not clear.
could you give other ways for saving picture from the figure.
Thank!!
回答 (3 件)
Luffy
2012 年 7 月 7 日
編集済み: Walter Roberson
2012 年 7 月 9 日
Do you need your figure to be only in bmp format,if not
h=figure;
plot(sind(1:360));
saveas(h,'picture','png') % it saves with file name picture.
Luffy
2012 年 7 月 7 日
編集済み: Walter Roberson
2012 年 7 月 9 日
@Pan:
Say you hv to save 10 figures,
for ii = 1:10
h(ii)=figure;
end
% Now saving figures
for ii = 1:10
saveas(h(ii),sprintf('Fig%i',ii),'png');
end
5 件のコメント
Pan
2012 年 7 月 8 日
Pan
2012 年 7 月 9 日
Walter Roberson
2012 年 7 月 9 日
編集済み: Walter Roberson
2012 年 7 月 9 日
After the imshow()
saveas( f, sprintf('Fig%i',i), 'png');
and move the "f=f+1" to after that saveas()
Pan
2012 年 7 月 9 日
Pan
2012 年 7 月 10 日
Image Analyst
2012 年 7 月 7 日
編集済み: Image Analyst
2012 年 7 月 7 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!