Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

figures got chopped when saved using "print"

1 vue (au cours des 30 derniers jours)
Yuji Zhang
Yuji Zhang le 6 Nov 2013
Clôturé : MATLAB Answer Bot le 20 Août 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~

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by