Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ grap(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pic(1)



     grap(1)                    DG/UX 4.30                     grap(1)



     NAME
          grap - pic preprocessor for drawing graphs

     SYNOPSIS
          grap [ -Tdest ] [ -l ] [ -- ] [ file(s) ]

     OPTIONS
          -Tdest  Specifies dest as the output device for grap. The
                  currently supported device is di10 (Imagen Imprint
                  10).

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

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

              grap  file_name(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.  Commands 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/dtk/grap.defines  definitions of standard plotting
                                     characters, e.g., bullet.

     SEE ALSO
          pic(1).




















     Licensed material--property of copyright holder(s)         Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026