Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS