about picture saving from figure

1 visualización (últimos 30 días)
Pan
Pan el 7 de Jul. de 2012
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!!

Respuestas (3)

Luffy
Luffy el 7 de Jul. de 2012
Editada: Walter Roberson el 9 de Jul. de 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 comentario
Pan
Pan el 7 de Jul. de 2012
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

Iniciar sesión para comentar.


Luffy
Luffy el 7 de Jul. de 2012
Editada: Walter Roberson el 9 de Jul. de 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 comentarios
Pan
Pan el 9 de Jul. de 2012
THANK YOU!!!! :")
Pan
Pan el 10 de Jul. de 2012
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!

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 7 de Jul. de 2012
Editada: Image Analyst el 7 de Jul. de 2012

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by