about picture saving from figure

1 次查看(过去 30 天)
Pan
Pan 2012-7-7
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
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.
  1 个评论
Pan
Pan 2012-7-7
hi,I have one question that asking for you.
If I have many figure to save ,how to I do.
Because I have been tried ,I failed
Please teach me,thank

请先登录,再进行评论。


Luffy
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
Pan 2012-7-10
HI!!! i want to aks you one question about figure. the figure could adjust window size because we produce picture that has white border. if you have other solve that picture has white border. please tell me!! thank you!

请先登录,再进行评论。


Image Analyst
Image Analyst 2012-7-7
编辑:Image Analyst 2012-7-7

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by