CLOSE_FILE, EJECT, FILENAME, INCHES, LANDSCAPE, OUTPUT, PLOTTER_ON_OFF, POLYFILL, PORTRAIT, SET_CHARACTER_SIZE, XOFFSET, XON_XOFF, XSIZE, YOFFSET, YSIZE
HP-GL (Hewlett-Packard Graphics Language) is a plotter control language used to produce graphics on a wide family of pen plotters. To use HP-GL as the current graphics device, issue the IDL command:
SET_PLOT,'HP'
This causes IDL to use HP-GL for producing graphical output. Once the HP-GL driver is enabled via SET_PLOT, the DEVICE procedure is used to control its actions, as described below. The default settings for the HP-GL driver are shown in the following table. Use the statement:
HELP, /DEVICE
to view the current state of the HP-GL driver.
IDL is able to produce a wide variety of graphical output using HP-GL. The following is a list of what is and is not supported:
The LINESTYLE graphics keyword allows specifying any of 6 linestyles. HP-GL does not support all of these linestyles, and styles 3 and 4 differ from the definition in Graphics Keywords. The following table summarizes the differences:
Index
|
Normal Line Style
|
HP-GL Line Style
|
---|---|---|
0 |
Solid
|
same
|
1 |
Dotted
|
same
|
2 |
Dashed
|
same
|
3 |
Dash Dot
|
Relative size of dash and dot are different.
|
4 |
Dash Dot Dot Dot
|
Dash Dot Dot
|
5 |
Long Dashes
|
same
|