Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

figures got chopped when saved using "print"

1 Ansicht (letzte 30 Tage)
Yuji Zhang
Yuji Zhang am 6 Nov. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 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~

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by