Two commands are available for resetting or reinitializing the state of GrADS:
returns GrADS to its initial state.
reinit closes all open
files, releases all defined variables, and resets all graphics
settings to their defaults.
returns GrADS to its initial state with the following exceptions:
set displaysettings are not modified
If files are open, the default file is set to 1, and the dimension environment is set to X,Y varying and Z and T set to 1 (as though file 1 were just opened).
reset command may be
qualified so that only certain aspects of GrADS are returned to their
initial state. The qualifiers are as follows: