Reference Guide > S Routines > SET_PLOT Procedure
  

SET_PLOT Procedure
Specifies the device type used by PV‑WAVE graphics procedures.
Usage
SET_PLOT, device
Input Parameters
device—A scalar string giving the name of the device to use. This parameter is case-insensitive.
Keywords
Copy—If present and nonzero, PV‑WAVE’s internal color table is copied into the device. This is the preferred method if you are displaying graphics and each color index is explicitly loaded.
Interpolate—If present and nonzero, the color table of the new device is loaded by interpolating the old color table to span the new number of color indices. This method works best when displaying images with continuous color ranges.
Discussion
Valid Device Names lists valid device names. These devices are explained in detail in Output Devices and Window Systems.
 
Table 16-2: Valid Device Names
Name
Device
CGM
Computer Graphics Metafile format
HP
HPGL device
PCL
PCL device
PM
Pixel Map
PS
PostScript device
WIN32
Windows
WMF
Windows Metafile
X
X Window System
Z
Z-buffer pseudo device
If the Copy keyword parameter is set, the color table copying is straightforward as long as both devices have the same number of color indices. However, if the new device has more colors than the old device, some color indices will be invalid. If the new device has less colors than the old, not all the colors are saved.
Examples
; Send output to a PostScript file.
SET_PLOT, 'PS'
; Send output to a Windows Meta file.
SET_PLOT, 'WMF'
See Also
DEVICE
System Variables: !D

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.