Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

ERASE


Syntax | Arguments | Keywords | Examples | Version History | See Also

The ERASE procedure erases the screen of the currently selected graphics device (or starts a new page if the device is a printer). The device is reset to alphanumeric mode if it has such a mode (e.g., Tektronix terminals).

Syntax

ERASE [, Background_Color] [, CHANNEL=value] [, COLOR=value]

Arguments

Background_Color

The color index for the screen to be erased to. If this argument is omitted, ERASE resets the screen to the default background color (normally 0) stored in the system variable !P.BACKGROUND. Providing a value for Background_Color overrides the default.

Warning
Not all devices support this feature.

Keywords

CHANNEL

The channel or channel mask for the erase operation. This parameter has meaning only when used with devices that support TrueColor or multiple-display channels. The default value is !P.CHANNEL.

COLOR

Specifies the background color. Using this keyword is analogous to using the Background_Color argument.

Examples

; Display a simple image in the current window: 
TV, DIST(255) 
 
; Erase the image from the window: 
ERASE 

Version History

Introduced: Original

See Also

SET_PLOT, WINDOW, WSET


Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]