1. Home
  2. DCLEAR directive

DCLEAR directive

Clears a graphics screen.

Options

DEVICE = scalar Device whose screen is to be cleared; default is to clear the screen of the current graphics device
ENDACTION = string token Action to be taken after clearing the screen (continue, pause); default * uses the setting from the last DEVICE statement

No parameters

Description

DCLEAR clears the screen of a graphics device so that the next plot produced on this device by any of the high-resolution graphics or procedures will be drawn onto an empty screen. All information about the current display, for example axis mappings, is also cleared from memory. The DEVICE option indicates the device to be cleared; by default this is the current graphics device (as set by the DEVICE directive). The ENDACTION option controls what happens after clearing the screen. The default action is the setting specified by the most recent DEVICE statement.

Options: DEVICE, ENDACTION.

Parameters: none.

See also

Directives: DEVICE, DSTART, DFINISH, DKEEP, DDISPLAY.

Commands for: Graphics.

Updated on March 8, 2019

Was this article helpful?