Running Gri

1: Introduction
2: Simple example
3: Fancy example
4: Running Gri
5: Programming Gri
6: General Issues
7: X-Y Plots
8: Contour Plots
9: Image Plots
10: Examples
11: Handling Data
12: Gri Commands
13: Gri Extras
14: Evolution of Gri
15: Installing Gri
16: Gri Bugs
17: System Tools
18: Acknowledgments
19: License
20: Newsgroup

21: Concept Index

4.3: Viewing Gri Output

Gri does not draw directly on your screen. Instead, it creates a PostScript file, assuming that you know how to view or print such a file. If you don't have a PostScript previewer, you might want to get the Free Software Foundation's `Ghostscript' (or ```gs''') program, which works very well.

On a unix system, you may invoke both Gri and the previewer on the same commandline, e.g., `gri foo.gri && gs foo.ps' (many users create a shellscript that does this).

Gri PostScript output is standard, and can be viewed with standard viewers such as `ghostview' or `gv'.

4.4: Printing Gri Output

Gri output files are in the PostScript page description language.

  • Unix Use a command like `lpr file.ps'.