FRAME
/FORMAT /FILE
Saves the current graphics display image as a graphics file or as a frame in the movie file initialized with the command SET MOVIE. FRAME is also a qualifier for the "action" commands PLOT, CONTOUR, POLYGON, SHADE, VECTOR and WIRE.
yes? CONTOUR my_var
yes? FRAME
or more commonly,
yes? FRAME/FILE=myvar.gif
Note that FRAME follows a command which creates an image.
FRAME/FORMAT=format controls the format of the file produced.
FRAME/FORMAT=HDF appends an HDF raster 8 drawn to the specified or implied input file. The default format is HDF.
FRAME/FORMAT=GIF creates a new GIF file, any existing GIF file with the specified or implied name using relative version number or less. Note that in this mode of grabbing an image Ferret creates a GIF by requesting the image back from your screen (your X server). This means that the X server normally has to be configured as pseudo-color. An alternative approach which does not share this restriction is to start Ferret with "ferret -gif"
FRAME/FILE=filename specifies the name of the output file. If /FORMAT is not specified the output format is inferred from filename extensions of .hdf, .HDF, .gif, or .gif.
The maximum filename length, including path, that is allowable is 255 characters.