Save figure and contents to FIG-file
You must use MATLAB to open files saved using savefig.
To open the file, pass the file name to the function openfig or open.
For example,
openfig('ExampleFile.fig')ExampleFile.fig, in MATLAB. savefig saves the full MATLAB figure.
To save only part of a figure, such as an axes, or to save handles
in addition to the data, use the save function
to create a MAT-file.