Two commands are available for resetting or reinitializing the state of GrADS:
Reinit
The reinit command
returns GrADS to its initial state.  reinit closes all open
files, releases all defined variables, and resets all graphics
settings to their defaults.
Reset
The reset command
returns GrADS to its initial state with the following exceptions:
set display settings
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).
The reset command may be
qualified so that only certain aspects of GrADS are returned to their
initial state. The qualifiers are as follows:
reset events    
resets the events buffer (e.g., mouse clicks) reset graphics  
resets the graphics, but not the widgets reset hbuff     
resets the display buffer when in double buffer mode reset norset    
resets the X events only