Graphics |
Exporting in a Specific Graphics Format
Export a figure to a graphics-format file when you want to import it at a later time into another application such as a word processor.
Using the Graphical User Interface
Using MATLAB Commands
From the command line, you must specify the graphics format as an option. See the print
reference page for a complete list of graphics formats and their corresponding option strings.
This example exports a figure to an EPS color file, myfigure.eps
, in your current directory.
This example exports Figure No. 2 at a resolution of 300dpi to a 24-bit JPEG file, myfigure.jpg
.
This example exports a figure at screen size to a 24-bit TIFF file, myfigure.tif
.
Printing a Centered Figure | Exporting in EPS Format with a TIFF Preview |