PENCIL
Keywords: greg

Next: PENCIL /COLOUR Up: GREG1 Language Internal Help Previous: LOOK Contents Index

##
PENCIL

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

        PENCIL selects the current pen or changes the pen attributes.

        Command argument:
          - with a pen number, select this pen as the current one and optionally
            changes its attributes if options are present.
          - with a * wildcard, modify the named attributes of all  pens  without
            changing the current pen number.
          - without argument, only modify the current pen attributes.

        Attributes  are  defined  in  terms of colour, dashed pattern and weight
        (thickness). Up to 16 pens can be defined (0-15). Most plotting commands
        use the current pen. The major exception is RGMAP (iso-contouring) which
        uses the pen 0 (solid and foreground color by default)  and  15  (dotted
        and  blue by default). 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 8, 1 means solid lines.
          - The weight factor W must be a weight number or value.  See  subtopic
            /WEIGHT for details.
          - The  colour  index C is a color number or name. See subtopic /COLOUR
            for details.

        PENCIL N /DEFAULT reset default attributes of pen number N.  PENCIL /DE-
        FAULT  reset default attributes for all Pens, as defined at program ini-
        tialization.

Subsections

- PENCIL /COLOUR
- PENCIL /WEIGHT