h to the file
hgexport(h,' writes figure
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.
Use the File > Export Setup dialog. Use Edit > Copy Figure to copy the figure's content to the system clipboard. For details, see Customize Figure Interactively Before Saving and Copy Figure to Clipboard from Edit Menu.