PGPLOT / Andreas Suter 22.02.01 It can be downloaded from the following site: ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz The PGPLOT Graphics Subroutine Library is a Fortran- or C-callable, device-independent graphics package for making simple scientific graphs. It is intended for making graphical images of publication quality with minimum effort on the part of the user. For most applications, the program can be device-independent, and the output can be directed to the appropriate device at run time. The PGPLOT library consists of two major parts: a device-independent part and a set of device-dependent ``device handler'' subroutines for output on various terminals, image displays, dot-matrix printers, laser printers, and pen plotters. Common file formats supported include PostScript and GIF. PGPLOT itself is written mostly in standard Fortran-77, with a few non-standard, system-dependent subroutines. PGPLOT subroutines can be called directly from a Fortran-77 or Fortran-90 program. A C binding library (cpgplot) and header file (cpgplot.h) are provided that allow PGPLOT to be called from a C or C++ program; the binding library handles conversion between C and Fortran argument-passing conventions. PGPLOT has been tested with UNIX (most varieties, including Linux, SunOS, Solaris, HPUX, AIX, and Irix) and OpenVMS operating systems. I am unable to provide support for DOS, Windows, Windows/NT, or MacOS, but I do distribute code provided by users for use with these operating systems. __________________________________________________ Compiling PGPLOT Linux / Andreas Suter 22.02.01 In the main directory of PGPLOT you'll find a description how to install it. For UNIX the correct file is install-unix.txt Just follow the instructions there. To generate the file 'makefile' I used the following command makemake /afs/psi.ch/project/lem/pgplot linux g77_gcc The path will depend on your setup. In the file drivers.list I chose the following drivers PSDRIV 1 /PS PostScript printers, monochrome, landscape Std F77 PSDRIV 2 /VPS Postscript printers, monochrome, portrait Std F77 PSDRIV 3 /CPS PostScript printers, color, landscape Std F77 PSDRIV 4 /VCPS PostScript printers, color, portrait Std F77 TTDRIV 5 /XTERM XTERM Tektronix terminal emulator Std F77 TTDRIV 9 /TK4100 Tektronix 4100-series terminals Std F77 XWDRIV 1 /XWINDOW Workstations running X Window System C XWDRIV 2 /XSERVE Persistent window on X Window System C which were also recommended in the description 'install-unix.txt'. I had to edit the generated 'makefile' since the path for the X11-lib was not correct, namely from LIBS=-L/usr/X11/lib -lX11 `$(SRC)/cpg/libgcc_path.sh` -lgcc -lm -lc -lbsd to LIBS=-L/usr/X11R6/lib -lX11 `$(SRC)/cpg/libgcc_path.sh` -lgcc -lm -lc -lbsd