GRAP(1)                                                                GRAP(1)


NAME
     grap - pic preprocessor for drawing graphs


     SYNOPSIS grap [-Ttty_type ] [ - ] [ -- ]

OPTIONS
     -T       specifies tty_type as grap's output device.  Currently supported
              devices are aps (Autologic APS-5) and di10 (Imagen Imprint 10).
              -Taps is default.

     -l       Stops grap from looking for a library file of macro defines,
              /usr/lib/dwb/grap.defines.

DESCRIPTION
     grap is a language for typesetting graphs.  It is also the name of the
     preprocessor that feeds input to pic(1).  Thus, a typical command line
     would appear as follows:
          grap file(s) | pic | troff | typesetter

     Graphs are surrounded by the troff "commands" .G1 and .G2.  Data that is
     enclosed is scaled and plotted, with tick marks supplied automatically.
     Command exist to modify the frame, add labels, override the default
     ticks, change the plotting style, define coordinate ranges and
     transformations, and include data from files.  In addition, grap provides
     the same loops, conditionals and macro processing that pic does.

FILES
     /usr/lib/dwb/grap.defines:  definitions fo standard plotting characters,
     e.g. bullet.

SEE ALSO
     pic(1).


                                                                        Page 1