Graphics    

Printing to a Printer, Locking the Ticks and Limits of the Axes

By default, MATLAB scales the ticks and limits of your axes to accommodate the printed size. This example shows how to lock them so they do not change:

From the Windows Menus

  1. Select Page Setup from the figure window's File menu and select the Axes and Figure tab.
  2. Select Keep screen limits and ticks in the Axes limits and ticks box.
  3. Click OK.
  4. Invoke the Print dialog box to print the figure.

From the UNIX Menus

  1. Invoke the Print dialog box to print the figure.
  2. Select the Same as on screen option in the Axes Limits and Ticks group box.
  3. Click OK.

Note. You can also select screen size from the Axes and Figure tab in the Page Setup dialog box.

From the Command Line

Set the xtickmode, ytickmode, and ztickmode properties to manual before printing the figure.


 Printing to a Printer at Screen Size Printing to a Printer, Setting the Paper Size