Graphics |
By default, MATLAB prints the current figure. If you have more than one figure open, the current figure is the last one that was active. To make a different figure active, click on it to bring it to the foreground.
Using MATLAB Commands
Specify a figure handle using the command
This example sends Figure No. 2 to the printer. A figure's number is usually its handle.
You can select the printer you want to use with the Print dialog box or with the print
function.
Using the Graphical User Interface
Using MATLAB Commands
You can select the printer using the -P
switch of the print
function.
This example prints Figure No. 3 to a printer called Calliope
.
If the printer name has spaces in it, put quotation marks around the -P
option, as shown here.
Using a Network Print Server. On Windows NT, Windows 2000, and Windows XP systems, you can print to a network print server using the form shown here for a printer named trinity
.
Changing a Figure's Settings | Setting the Figure Size and Position |
© 1994-2005 The MathWorks, Inc.