next up previous
Next: Advanced topics Up: An introduction to MATLAB Previous: Graphics

Sending graphics to printer

To create a POSTSCRIPT file out of your figure use `print -option filename'. MATLAB will add the `.ps' suffix to the provided filename. The -option is one of the following:

-dps
Black and white POSTSCRIPT
-dpsc
Color Postscript
-dtiff
for Tiff format, -djpeg for JPEG format, etc.

You can set the resolution of the figure to be printed - type help print for more info. Before you output the figure to the file you may want to set the plot orientation using `orient orientation' where orientation can be landscape, portrait or tall (the latter fits the figure to the whole page).



Matt Pritchard
Thu Apr 5 17:24:29 PDT 2001