next up previous contents index
Next: PENCIL COLORS Up: GREG1 Language Internal Help Previous: LIMITS /VARIABLES

   
PENCIL

        [GREG1\]PENCIL [N] [/COLOUR C] [/DASHED D] [/WEIGHT W] [/DEFAULT]

    Selects virtual pen N and defines its attributes in terms of colour  (if
    supported  by  the device), dashed pattern and weight (thickness). Up to
    16 pens can be defined (0-15).  Most plotting commands uses the  current
    pen. The major exception is RGMAP.  Some commands also ignore the dashed
    patterns, in particular all labels and the BOX command.
      - The dashed pattern D must be in range 1 to 7, 1 means solid lines.
      - The weight factor W must be in range 1 to 5.
      - The colour index C is an integer in the  range  0-23.  The  first  8
        colors are
         FIXED, the last 16 are user-definable. See the topic COLOR for more
        information on pen colors.
    PENCIL  N/DEFAULT  reset   default   attributes   to   Pen   number   N.
    PENCIL/DEFAULT  reset  default  attributes  for  all Pens, as defined at
    program initialization.


 

Gildas manager
1999-03-12