hgexport - Export figure
GUI Alternative
Use the File —> Saveas on
the figure window menu to access the Export Setup GUI. Use Edit —> Copy Figure to copy
the figure's contents to your system's clipboard. For details, see How to Print or Export in the MATLAB Graphics documentation.
Syntax
hgexport(h,filename)
hgexport(h,'-clipboard')
Description
hgexport(h,filename) writes
figure h to the file filename.
hgexport(h,'-clipboard') writes figure h to the Microsoft Windows clipboard.
The format in which the figure is exported is determined by
which renderer you use. The Painters renderer generates a metafile.
The ZBuffer and OpenGL renderers generate a bitmap.
See Also
print
 | hex2num | | hggroup |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit