about picture saving from figure
Ältere Kommentare anzeigen
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!!
Antworten (3)
Luffy
am 7 Jul. 2012
Bearbeitet: Walter Roberson
am 9 Jul. 2012
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 Kommentar
Pan
am 7 Jul. 2012
Luffy
am 7 Jul. 2012
Bearbeitet: Walter Roberson
am 9 Jul. 2012
@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 Kommentare
Pan
am 8 Jul. 2012
Pan
am 9 Jul. 2012
Walter Roberson
am 9 Jul. 2012
Bearbeitet: Walter Roberson
am 9 Jul. 2012
After the imshow()
saveas( f, sprintf('Fig%i',i), 'png');
and move the "f=f+1" to after that saveas()
Pan
am 9 Jul. 2012
Pan
am 10 Jul. 2012
Image Analyst
am 7 Jul. 2012
Bearbeitet: Image Analyst
am 7 Jul. 2012
0 Stimmen
Kategorien
Mehr zu Printing and Saving 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!