GPSAVE saves the graphics plot currently displayed to a disk file.


INPUT PARAMETERS
 
    SAVFIL    *Graphics save file name
    DEVICE    *Graphics device
 
 
PROGRAM DESCRIPTION
 
    This program saves the graphics plot displayed on DEVICE to a
    disk file.  The graphics information saved can be restored
    using GPREST.  These programs will only work on devices having
    a readback capability.


EXAMPLES
 
    1. Save a surface map to a specified disk and directory.

       SAVFIL  =  /path/sfcmap.sav


ERROR MESSAGES
 
    [GPSAVE  -1]    Fatal error initializing TAE.
    [GPSAVE  -2]    Fatal error in reading TAE parameters.
    [GPSAVE  -3]    Fatal error initializing GEMPLT.
    [GPSAVE  -4]    Error saving graphics to a file.