Save graphic object h to the file filename in graphic format fmt.
fmt should be one of the following formats:
psPostScript
epsEncapsulated PostScript
jpgJPEG Image
pngPNG Image
emfEnhanced Meta File
pdfPortable Document Format
All device formats specified in print may also be used. If
fmt is omitted it is extracted from the extension of filename.
The default format is "pdf".
clf (); surf (peaks); saveas (1, "figure1.png");
See also: print, hgsave, orient.
Package: octave