Figure changes size when i export it

17 次查看(过去 30 天)
Hey,
i want to create some plots for a word document, which always have a specified size, so the plottitle etc. dont change the size when the plot would be scaled in order to fill the whole width of the document. I tried to set a specific size by using
fig.Units = 'centimeters';
fig.Position = [5 5 width hight];
But when i save the illustration the size differs from the one i determined above.
Also when i save a figure manually with the "export setup" function the size of the saved picture is not the same as i specified in the tool.
Would be great if anyone could help me. Thanks
  1 个评论
Sreeranjani Sekar
Sreeranjani Sekar 2021-11-9
If File > Export Setup is used to resize the figure, then please note that the dimensions include the entire figure window except for the frame, title bar, menu bar, and any tool bars.

请先登录,再进行评论。

回答(1 个)

Sreeranjani Sekar
Sreeranjani Sekar 2021-11-9
Alternatively, refer to the exprt_fig File Exchange link.

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by