Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ grap(1) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pic(1)

troff(1)

GRAP(1)  —  Silicon Graphics

NAME

grap − pic preprocessor for drawing graphs

SYNOPSIS

grap [ −l ] [ −Ttty_type ] [ files ]

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 files | pic | troff [ | typesetter ]

If you do not specify files, grap reads the standard input.  grap will also read the standard input if it encounters − as a file argument. 

Graphs are surrounded by the troff(1) "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. 

Options

−l Stops grap from include a library file of macro defines, /usr/lib/dwb/grap.defines. 

−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. 

FILES

/usr/lib/dwb/grap.definesdefinitions for standard plotting characters, e.g. bullet. 

SEE ALSO

pic(1), troff(1). 

The section entitled “grap” in the Documenter’s Workbench User’s Guide. 

Version 3.6  —  December 20, 1987

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