Page Setup Dialog    

Adjusting the Size and Color of the Graphic

To adjust the size and location of the printed graphic, choose the Page Setup... option from the figure window's File menu.

The Page Setup Dialog Box

The Page Setup dialog box enables you to perform four categories of adjustments:

When you have finished making selections on the dialog box, select OK to accept the settings for printing and close the dialog box, Apply to apply the changes without closing the dialog box, Default to return the values to the current MATLAB defaults, or Cancel to dismiss the dialog box without accepting any of the changes made.

Orientation

Orientation refers to the way the figure is placed on the printed page. Portrait (the default) specifies that the longer paper dimension is oriented vertically; Landscape orients the longer paper dimension horizontally. In both cases, the value of the paper position (size and position of the figure on the page) remains the same.

Use the Center, Fill, and Max Aspect buttons in the Size and Position field to adjust the paper position.

Limits

MATLAB changes the number and placement of axis tick marks when you print a figure, if the size of the printed figure is different from its size on screen. The default size of the printed figure is six by eight inches. This is generally larger than the size on screen so MATLAB takes advantage of the increased size and increases the resolution of the axes.

Check this box if you do not want MATLAB to recompute the tick marks on the printed figure. The printed figure will then have the same tick marks as on screen.

Color

The Color field controls whether lines and text are printed in color or changed to black and white.

If you print from the MATLAB command line using the print command, options that you specify override options you set in the Page Setup dialog box. For example, if you select Color in this field in the dialog box and then print the figure with one of these command,

the resulting page is printed in black and white.

Size and Position

The Size and Position field provides control of both the size and the position of the figure. You can choose from two basic approaches to sizing and locating the figure on the printed page:

Manipulating a Figure Manually.   You can change the position and size of the figure in either of two ways:

Setting Units.   Displaying the pull-down menu provides four options for units.

MATLAB uses these units to interpret the values specified for the paper position. All units are measured from the lower-left corner of the page. Normalized units map the lower-left corner of the page to (0,0) and the upper-right corner to (1.0,1.0).

Automatic Placement.   There are three automatic positioning push buttons:


 Printing from the Menu Print Preview