about picture saving from figure
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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!!
0 commentaires
Réponses (3)
Luffy
le 7 Juil 2012
Modifié(e) : Walter Roberson
le 9 Juil 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.
Luffy
le 7 Juil 2012
Modifié(e) : Walter Roberson
le 9 Juil 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 commentaires
Voir également
Catégories
En savoir plus sur Printing and Saving dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!