Effacer les filtres
Effacer les filtres

Figure changes size when i export it

11 vues (au cours des 30 derniers jours)
Leonhard Messerer
Leonhard Messerer le 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 commentaire
Sreeranjani Sekar
Sreeranjani Sekar le 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.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by