C-PLOT

Scientific Graphics and Data Analysis

hpgl2

the HPGL-2 graphics filter

DESCRIPTION

The hpgl2 filter produces instructions appropriate for plotters and printers that support the HPGL-2 language. The filter is invoked using the following command:

zi hpgl2 [output_options] [hpgl2_options]

The output_options are the standard options available to select an output file or spooler command. See the filters help file for more information.

The hpgl2_options are specific to this filter and are as follows:

-colors N
Selects the number of colors available. The default is 176. See the colors help file for the standard C-PLOT color assignments.
-copies N
Selects the number of copies of the plot to make. The default is one copy.
-media N

Selects the media type for use with the HPGL-2 MT instruction. Values for N are

0 Paper (default)
1 Transparency
2 Vellum
3 Polyester film (such as Mylar)
4 Translucent paper
5 Special paper

Not all values are supported for all devices.

-quality N
Selects the quality level for use with the HPGL-2 QL instruction. Legal values are from zero to 100, with 100 being the highest quality. Consult your HPGL-2 printer manual for more information.
-trans
Selects transparency mode.
-velocity N
Selects pen velocity for pen-plotter devices that accept the HPGL-2 VS instruction. The values for N are device dependent.
-xmax N
Selects the resolution in device units of the long side of the plot. The default is 10,894, which is appropriate for A-size paper on the HP PaintJet XL.
-ymax N
Selects the resolution in device units of the short side of the plot. The default is 8,303, which is appropriate for A-size paper on the HP PaintJet XL.