Graphics | ![]() ![]() |
Printing to a Printer Using the Defaults
If you have not changed the default settings, MATLAB prints the current figure 8-by-6 inches with no window frame. It centers the figure on portrait format 8.5-by-11 inch paper if available. MATLAB sets the figure background and the axes background to white, and scales the ticks and limits of your axes to accommodate the printed size.
This example shows how to print using the defaults:
From the Windows Menus
1
.
From the UNIX Menus
From the Command Line
This example uses the most basic form of the print
command. MATLAB uses the defaults to print the current figure to your default printer.
This example prints Figure No. 2 using default settings.
print -f2
![]() | Quick Start | Printing to a Printer at Screen Size | ![]() |