print command print only part of the graph

2 次查看(过去 30 天)
alpedhuez
alpedhuez 2021-8-6
重新打开: Cris LaPierre 2021-8-9
I did a plot and Matlab displays a plot correctly. Then I run
print(gcf, '-dtiff', 'abc.tiff','-r300');
The resulting tiff file shows only a part of the plot. What is the next step?
  2 个评论
alpedhuez
alpedhuez 2021-8-6
https://www.mathworks.com/matlabcentral/answers/81353-print-option-does-not-save-the-figure-correctly
alpedhuez
alpedhuez 2021-8-6
Then how can one change the default of Renderer?
Change it to painters or zbuffers if it is opengl
>> set(gcf,'Renderer','painters')

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by