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
From the UNIX Menus
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.
set(gca, 'xtickmode','manual'); set(gca, 'ytickmode','manual'); set(gca, 'ztickmode','manual'); print
![]() | Printing to a Printer at Screen Size | Printing to a Printer, Setting the Paper Size | ![]() |