NCL Home > Documentation > HLUs > User Guide

Workstation class

Workstation objects specify output devices to which the graphics are sent. The supported workstations include a direct X Window, an NCAR-encoded Computer Graphics Metafile (NCGM), and PostScript in its many forms.

The Workstation class contains three subclasses: XWorkstation, NcgmWorkstation, and PSWorkstation. Only one NcgmWorkstation can be open at one time in an application, but up to 15 workstations can be open simultaneously with the remaining workstations of either type PSWorkstation or XWorkstation.

The HLU function NhlChangeWorkstation can be used to switch between workstation types in an application. NhlClearWorkstation can be used to clear the workstation device.

See also: