
The ECN No Name Newsletter is no longer being published. This is an archived issue.
[previous article] [next article]Grap is part of the latest release (Release 2.0) of the DOCUMENTER'S WORKBENCH software from AT&T. Grap is a preprocessor for pic and troff used for drawing graphs in documents. Grap easily draws annotated line graphs and scatter plots, and has advanced features that allow it to be used to draw bar graphs, plot functions, and process raw data. If you are interested in trying to use grap contact your site specialist to obtain a copy of the grap documentation, "ECN #126, DWB--The Preprocessor grap".
The test version of grap is in the /usr/dwb/2 directory and can be accessed as ``/usr/dwb/2/grap''. To use grap you first need to create a troff input file containing grap commands. This file is then preprocessed by grap to convert the grap commands to pic commands. The output from grap is then processed just as you would process any other troff document containing pic commands. For example if you normally print documents on the ``xp'' Printronix printer using the command:
$ mmt. -Tptrx document | dptrx | lpr -Pxp -n
you would use the command:
$ /usr/dwb/2/grap -Tptrx document |
mmt. -Tptrx -p - | dptrx | lpr -Pxp -n
to print a document containing grap commands on the ``xp'' Printronix.
If you find any bugs in grap please report them to Kent De La Croix, ECN Graphics and Text Software Support; login: kcd.
The 2.0 versions of pic, eqn, neqn, tbl, troff, nroff, etc. will also be installed in /usr/dwb/2 as they become available for testing. Watch future editions of this newsletter and the login messages for future announcements.