next up previous contents index
Next: SUBROUTINE WHERE Up: Description of Plotting Previous: SUBROUTINE VFACTOR

SUBROUTINE VPEN

       VPEN is called by  NEWPEN to change the hardware line type and/or width of the plotting line for subsequent plotting on the terminal screen device. It may be called separately to change only the terminal line type. Metafile and Ramtek and terminal output device line types may be changed separatly using PPEN and RMPEN, respectively. While the terminal output device driver supports line types in hardware, line widths are supported in software by outputing multiple single-width lines offset by one pixel. Line type scale factors (the length of the linetype dot/dash pattern) are not used. Not all terminals support all standard line types. If a particular terminal does not support the requested line type, normally a solid line is used. The default line type is a solid line of width 1 dot.

CALL VPEN (i)

i     (I): selects a line type for all additional plotting
           to the terminal screen output device
           < 0 : resets line type to solid line of unit width.
           = 0 : no change 
           > 0 : line type and width changed according to,
   (1's digit)   : line type (1-9) (0 value does not change line type)
   (10's digit)  : line width (1-7) (0 value does not change width)
   (100's digit) : line type pattern scaling (ignored)



David Long
Wed Jun 12 10:34:11 MDT 1996