home *** CD-ROM | disk | FTP | other *** search
-
- 10.1.2 PLOT HPGL
-
-
- The PLOT HPGL command is used to create plots on the Hewlett-Packard range
- of pen plotters or any plotter that supports the HPGL plotting language or
- a compatible language.
-
- Plots can be created at any size supported by the plotter and in up to 7
- different colours.
-
-
- COMMAND FORMAT
-
- #PLOT HPGL [modifiers] :Win x1 x2
-
- or
-
- #PLOT HPGL [modifiers] [CR]
-
- If the command is terminated with a colon, a plot window can be defined by
- entering two locations to define the extents of a window. If the command
- is terminated with a return, the entire sheet will be plotted. The bottom
- left corner of the window or sheet is used as the plot origin.
-
- The plot will be created at a one to one scale with the sheet size and
- units.
-
-
- MODIFIERS
-
- TO Requires the name of a file or device to direct all plot
- commands. If this modifier is omitted, then the plot commands
- will be directed to the device PAR: - the parallel port - as
- the plotter is usually connected to this port. If the plotter
- is connected to the serial port then the command
-
- #PLOT HPGL TO SER:
-
- should be used.
-
- Plot commands can be directed to a disk file for later or
- background plotting.
-
- PENSPEED The PENSPEED command is used to select the pen speed for the
- plotter. Ink pens require a slow speed whereas felt tipped
- pens can use a much faster plotting speed. The range of pen
- speeds available is 2 - 127 cm/sec. Refer to your plotter
- manual for its speed capabilities.
-
- SCALE Can be used to alter the scale of the plot. If the modifier
- is omitted, then a scale of 1.0 will be used.
-
- OFFSET The OFFSET modifier can be used to specify an xy offset for
- the origin of the plot. The modifier requires 2 values
- separated by a comma, these are the x and y values at which
- to offset the plot origin. The values must be entered in
- millimetres. For example:
-
- #PLOT HPGL OFFSET 30,60
-
- Will offset the origin of the plot by 30 millimetres in the
- x direction and 60 millimetres in the y direction.
-
- Negative values can be used.
-
- ROTATE The ROTATE modifier can be used to specify that the drawing
- should be rotated through 90 degrees prior to being plotted.
-
- ORIGIN The ORIGIN modifier is used to specify the default pen origin
- of the plotter. The modifier can be followed by one of two
- keywords:
-
- LOWER_LEFT Used if the plotter origin is at the lower
- left corner of the plotting area. This is
- the default value.
-
- CENTRE Used if the plotter origin is at the centre
- of the plotting area.
-
- SHADEPITCH Used to specify the vertical distance between horizontal
- lines used to emulate a colour filled polygon. The value
- must be entered in millimetres. If this modifier is omitted,
- a value of 0.5 mm is used.
-
- NOFILL The NOFILL modifier can be used to inhibit any filled areas
- of a drawing being plotted.
-
- MONO The MONO modifier can be used to create a single colour plot.
- All entities will be plotted using pen 1.
-
-
-