Save the graphics handle h to the file filename in the format fmt.
If unspecified, h is the current figure as returned by gcf
.
When filename does not have an extension the default filename extension .ofig will be appended.
If present, fmt should be one of the following:
-7
, -mat7-binary
-6
, -mat6-binary
When producing graphics for final publication use print
or
saveas
. When it is important to be able to continue to edit a
figure as an Octave object, use hgsave
/hgload
.
See also: hgload, hdl2struct, saveas, print.
Package: octave