Set printer properties for plot

1 vue (au cours des 30 derniers jours)
Jared
Jared le 21 Fév 2013
I have a GUI that generates plot figures. Is there any way to specify the default printer properties in code? Specifically I want to change the orientation to landscape, and adjust the margins so the plot takes up the whole piece of paper.

Réponse acceptée

Jan
Jan le 21 Fév 2013
Modifié(e) : Jan le 21 Fév 2013
You can adjust these properties of the figure:
PaperUnits
PaperOrientation -> landscape
PaperPosition
PaperPositionMode
PaperSize
PaperType
And the AXES' 'Position' property can be adjusted such that it fills the figure as wanted. E.g. using 'centimeters' as units allow to set the position absolutely also.

Plus de réponses (0)

Catégories

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by