Set printer properties for plot

조회 수: 15 (최근 30일)
Jared
Jared 2013년 2월 21일
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.

채택된 답변

Jan
Jan 2013년 2월 21일
편집: Jan 2013년 2월 21일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by