
Saving Plots
There are several ways to save plots created in MATLAB:
If the plot are created with programming code stored in an
M-fi le, simplyrerunning the code will re-create the figure
The figure can also be saved from the file menu, using the
Save As . . . option. Several choices will be opened:
The figure can be saved as a .fig fi le, which is a MATLAB
-specific fi e format. To retrieve the figure, just double-click
on the file name in the current folder. You can do the same
thing programmatically with the code open
<figurename.fig>
The figure can be saved in a number of different standard
graphics formats, such as jpeg ( .jpg ) and enhanced
metafile ( .emf ). These versions of the figure can be
inserted into other documents, such as a Word document
Select Edit from the menu bar, then select copy figure, and
paste the figure into another document
Use the file menu to create an M-file that will re-create the
figure