Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

figures got chopped when saved using "print"

1 visualización (últimos 30 días)
Yuji Zhang
Yuji Zhang el 6 de Nov. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi everyone~
I plot some figures, and save them to .tif file using "print"
But it often got chopped.
I use the code
set(gcf,'Position',[50 100 1200 500]); % set figure size on screen
set(gcf,'PaperUnits','inches','PaperPosition',[0 0 6 3]); % set figure size for print
print(gcf,'-dtiffn','-r600', name);
Can somebody tell me: whether
set(gcf,'Position',...);
interferes with
set(gcf,'PaperUnits','inches','PaperPosition',...);
?
Why my saved .tif is cropped? How to avoid?
Any thoughts are appreciated. Thanks~

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by