Graphics Previous page   Next Page

How to Specify a Format for Exporting

To select a graphics format to use when exporting, choose a format from the Graphics Format table on the print reference page, and specify that format in either the Export dialog box or in the MATLAB print function.

Using the Graphical User Interface

When exporting your figure to a file,

  1. Select Export from the figure window's File menu.
  2. Select a format from the Save as type list box.
  3. Enter the filename you want to use and browse for the directory to save the file in.
  4. Click Save.

Using MATLAB Commands

To specify a nondefault graphics format for the figure you are exporting, include the -d switch with the print command. For example, to export the current figure to file spline2d.eps, with 600 dpi resolution, and using the EPS color graphics format, type


Previous page  Description of Selected Graphics Formats Choosing a Printer Driver Next page

© 1994-2005 The MathWorks, Inc.