Jgraph -- A Filter for Plotting Graphs in Postscript
James S. Plank, University of Tennessee.
Brief Description
Jgraph is a program that takes the description of a graph or graphs as
input, and produces a postscript file on the standard output. Jgraph is
ideal for plotting any mixture of scatter point graphs, line graphs,
and/or bar graphs, and embedding the output into LaTeX, or any other
text processing system that can read postscript.
The Software (version 8.3)
This software is available via anonymous ftp to cs.utk.edu in
pub/plank/jgraph/jgraph.shar.Z
and
pub/plank/jgraph/jgraph.tar.gz
(the above links work as well).
A set of more complex jgraph examples is available in
pub/plank/jgraph/complex_examples.shar.Z.
Jgraph is currently part of the
Debian
and the SAL
(Scientific Applications on Linux) software repositories.
Other interesting files
Jgraph lecture notes -- easier to read than the man page, so I've
been told.
The gif files were created with jgrtoppm (below).
- The Jgraph README file
- A typical scatter graph: Input,
Output: postscript,
gif
- A typical bar graph: Input,
Output: postscript,
gif
- A nice bar graph: Input,
Output: postscript,
gif
- An amazing bar graph (made by Dave Wortman):
Input,
Output
- A graph with custom axes (made by Matt Blaze):
Input,
(mab2.times),
Output: postscript,
gif
- A structured drawing (made by
Adam Buchsbaum):
Input,
Output: postscript,
gif
- The Jgraph USA-Today mock-graph:
Input,
Output: postscript,
gif
- The Jgraph football field slide:
Input,
Output
- Jgraph Overhead Slide #1 (embedded ps map of US):
Input,
Output
- Jgraph Overhead Slide #2 (typical slide):
Input,
Output
- Jgraph Overhead Slide #3 (bar graphs):
Input,
Output
- Jgraph Overhead Slide #4 (structured drawing):
Input,
Output
- Jgraph Overhead Slide #5 (made by Dave Wortman):
Input,
Output
- Jgraph Overhead Slide #6 (structured drawing -- 105K):
Input,
Output
- ctojgr -- A handy shell script to convert ascii text
files to jgraphs. E.g. Input,
Output of ctojgr,
Output of jgraph.
- Shell scripts that use ghostscript to convert jgraph files to
pnm (ppm, pgm, pbm) files. You can then use xv or
ppmtogif to convert the pnm files to gif files:
- The srm series (jgraph pictures of a "typical" computer -- varying
colors). Make an eps file out of them and include them in
drawings as an eps mark (see overhead #6 above for example use):
Black,
White (use on black),
Yellow,
Red,
Blue
- Disks --
White on black,
Black on white.
- Red Heart.
- Brief notes on an NT port, by C.M. Procter.
Related Paper
``Jgraph -- A Filter for Plotting Graphs in
PostScript'', Conference Proceedings, Usenix Winter 1993
Technical Conference, San Diego, CA, January, 1993, pp 63--68.