hgexport

Export figure

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 OpenGL® renderer generate a bitmap.

Alternatives

Use the File > Export Setup dialog. Use Edit > Copy Figure to copy the figure's content to the system clipboard. For details, see How to Print or Export.

See Also

Was this topic helpful?