Clear Filters
Clear Filters

Figure changes size when i export it

11 views (last 30 days)
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 Comment
Sreeranjani Sekar
Sreeranjani Sekar on 9 Nov 2021
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.

Sign in to comment.

Answers (1)

Sreeranjani Sekar
Sreeranjani Sekar on 9 Nov 2021
Alternatively, refer to the exprt_fig File Exchange link.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!