Info

此问题已关闭。 请重新打开它进行编辑或回答。

figures got chopped when saved using "print"

1 次查看(过去 30 天)
Yuji Zhang
Yuji Zhang 2013-11-6
关闭: MATLAB Answer Bot 2021-8-20
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~

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by