Azzera filtri
Azzera filtri

Figure changes size when i export it

17 visualizzazioni (ultimi 30 giorni)
Leonhard Messerer
Leonhard Messerer il 6 Nov 2021
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 Commento
Sreeranjani Sekar
Sreeranjani Sekar il 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.

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Printing and Saving in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by