Previous: inquire-all-- Up: ../slides.html Next: list-on-off-


LINE variablename | ( x y z h) |

     (INTENSITY value) |(STYLE value) | (WIDTH value)

 If a variable  name or a  coordinate point (x,y,z,h)  is given, draw  a
 line from the current  point to the indicated  position, making it  the
 new current  point,  using  either absolute  or  relative  coordinates,
 according to the  optional second  keyword.  If the  second keyword  is
 omitted, ABSOLUTE is assumed.  The keyword LINE may be abbreviated to a
 single letter because of its heavy use.

 If the INTENSITY keyword is  given, it must be  followed by a value  in
 the range 0.0 .. 1.0 to set the line intensity for further plotting.  A
 value of 0.5 corresponds to the display device's normal intensity.   It
 is not possible to simulate  this feature, so it is only useful on  CRT
 and film displays which can support it in hardware.

 If the STYLE keyword is given, it must be followed by an integer  value
 defining the style number.  Line style  1 is a solid line, styles  2..9
 are different  built-in dashed  line  patterns.  Larger  style  numbers
 encode patterns in their decimal digits, as follows:

 -----------      ------------------------------
 Digit Value             Line Segment
 -----------      ------------------------------
     0,1          point      (invisible,visible)
     2,3          very short (invisible,visible)
     4,5          short      (invisible,visible)
     6,7          medium     (invisible,visible)
     8,9          long       (invisible,visible)
 -----------      ------------------------------

 For example,  line style  5494 selects  a pattern  of the  form  (short
 visible, short invisible, long visible, short invisible), or
 --  --------  --  --------  --  --------  --  --------  etc.

 If the WIDTH keyword is  specified, it must be  followed by a value  in
 the range 0.0 .. 1.0 which sets the default line width for all  further
 plotting.  On most display devices, line width is simulated by  drawing
 multiple parallel strokes for each line segment.  The value 0.0 is  the
 default normal width, and each increment of 0.05 adds an extra  stroke,
 up to a maximum width of 1.0.