| Graphics | ![]() |
Printing to a Printer, Setting the Paper Size
By default, MATLAB uses 8.5-by-11 inch paper. This example shows how to change the paper size to 8.5-by-14 inches by selecting a paper type (Legal):
From the Windows and UNIX Menus
Legal paper type from the list under Paper size. The width and height fields update to 8.5 and 14, respectively.
From the Command Line
Set the PaperUnits property to inches, and the PaperType property to Legal.
set(gcf, 'PaperUnits', 'inches'); set(gcf, 'PaperType', 'Legal');
Alternatively, you can set the PaperSize property to the size of the paper, in the specified units.
set(gcf, 'PaperUnits', 'inches'); set(gcf, 'PaperSize', [8.5 14]);
| Printing to a Printer, Locking the Ticks and Limits of the Axes | Printing to a Printer, Setting the Size of and Centering a Figure | ![]() |