Erasesthe display surface of the currently active window.
NOTE: Not all devices support this parameter. Workstations and display terminals, such as X workstations and Tektronix terminals, generally do, while some hardcopy devices, such as HPGL plotters, do not.
Color The background color index. If specified (and the parameter background_color is not specified), Color overrides the value of the system variable !P.Background.
ERASE affects the current window only; to switch windows, use the WINDOW command.
A side effect of ERASE is that the device is reset to alphanumeric mode if it has such a mode (e.g., Tektronix terminals).
ERASE
COLOR_PALETTE
LOADCT, 2
WINDOW, 1
ERASE
WINDOW, 2
ERASE, 22
WINDOW, 1
ERASE, 64
WINDOW, 2
!P.Background=180
ERASE