PGPLOT can be installed on Apple Macintosh computers running Mac OS X. It uses the X-window system for display, as on other UNIX systems. An alternative display, which does not use the X-window system, is AquaTerm (see below). The following instructions are for MacOS 10.3 (Panther).
darwin
g77_gcc
. Select the X11 drivers; you probably also want
PostScript and GIF.pseudocolor visual
, so color-table animation (as used in
pgdemo4) does not work. Getting the right window on top and accepting
keyboard input can be a pain.Aquaterm (http://aquaterm.sourceforge.net) is a graphics display terminal for Mac OS X. You run the AquaTerm application, and then direct PGPLOT output to it by using a device specification “/AQT”. The display can be saved as a PDF file or printed. AquaTerm comes with a PGPLOT device driver and instructions for adding the driver to your version of PGPLOT.
For the best-quality printable output, select PostScript
(“/CPS” [landscape] or “/VCPS” [portrait]).
You can view PostScript files on screen using Apple's Preview, or
under X11 usibg gv
(available from Fink), and you can
send them directly to a PostScript printer using the lp command. You
can also convert PostScript to PDF using either Acrobat Distiller or
the ps2pdf
command (which is usually available when gv is
installed). PDF files are well supported by Mac OS X and can be viewed
with, e.g., Preview, Adobe Acrobat Reader, and many graphics
programs.