High-Performance Computing at the NIH

RSS Feed
GRI on Helix
Gri is a programming language for drawing science-style graphs. It is not mouse-driven, and it does not draw business-style graphs (e.g. pie charts, three-dimensional graphs). Gri has substantial power in advanced applications. It has been proven to be easy to learn; for simple applications, the learning curve is less than an hour. Many users regard Gri as the plotting equivalent of the LaTeX document preparation system.

GRI website.

GRI can be used interactively or non-interactively. Output is in Postscript format.

Using GRI

GRI commands can be typed interactively at the GRI prompt. However, most users will prefer to enter commands into a file. Sample GRI command file:

------- this file is example1.gri ----------------
# Example 1 -- Linegraph of data in separate file
open example1.dat     # Open the data file
read columns x y      # Read (x,y) columns
draw curve            # Draw data curve
draw title "Example 1"# Title above plot

This set of GRI commands can be run by typing

gri example1.gri

Output from this run

Documentation

GRI documentation
Examples