set imprun script-name
This command sets up automatic execution of a Grads script before every display command.
This script is typically used to set an option that by default gets reset after each display command, for example:
set grads off
You can issue any GrADS command from this script, but the interactions are not always clear. For example, if you issue a display command from this script, you could enter an infinite recursion loop.
The argument to the script is the expression from the display command.