From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  5-JUL-1989 21:34
To:	MRGATE::"ARISIA::EVERHART"
Subj:	PGPLOT graphics subroutine library

Received: From KL.SRI.COM ([0.0.0.0]) by CRVAX.SRI.COM with TCP; Wed,  5 JUL 89 17:04:51 PDT
Received: from Deimos.Caltech.Edu by KL.SRI.COM with TCP; Wed, 5 Jul 89 16:53:24 PDT
Date:    Wed, 5 Jul 89 16:50:36 PDT
From: tjp@Deimos.Caltech.Edu (Tim Pearson)
Message-Id: <890705165036.f5c@Deimos.Caltech.Edu>
Subject: PGPLOT graphics subroutine library
To: info-vax@kl.sri.com
X-St-Vmsmail-To: ST%"info-vax@kl.sri.com",TJP         

Some time ago someone was kind enough to mention my Fortran graphics 
subroutine library, PGPLOT, in this forum. Several people sent me 
requests for further information. I apologise to them for the delay in 
my reply -- here it is at last.
				- Tim Pearson

> Date: 7 MAR 89 08:59 A
> From: RDK%DTUMPI51.BITNET@CUNYVM.CUNY.EDU
> To: INFO-VAX@KL.SRI.COM
> Subject: Re: Query: scientific graphics subroutine package needed: SUMMARY
> 
> On 23-Feb-1989 I asked for informations about scientific graphic
> subroutine packages on this INFO-Vax-forum:

> From:     "Dr John Pym (Cardiothoracic Surgery)" <PYM@QUCDNSUR>
> 
> We use PGPLOT by Tim Pearson, Astronomy Department, Caltech
> Bitnet:  TJP@CITPHOBO
> 
> Does everything but 3-D. It's robust and very professional . . .
> and FREE for non-commercial use.  We make extensive use of this - a library of
> FORTRAN-callable subroutines.

> From: jdc%naucse.UUCP@arizona.edu (John Campbell)
> 
> Another good, and free, plotting package is PGPLOT.
> PGPLOT has some impressive demos, but I've not used it personally.  Either
> would be worth looking into.
________________________________________________________________________


The PGPLOT Graphics Subroutine Library is a Fortran-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. Although originally conceived as part of
the Caltech VLBI (Very Long Baseline Interferometry) programs, PGPLOT
has much wider applicability and is now widely used at astronomical and
other scientific institutes throughout the world. Graphs produced with
PGPLOT appear in almost every issue of the major astronomical journals. 

The PGPLOT library consists of two major parts: a device-independent
part, which is written in portable Fortran-77, and a set of
device-dependent ``device handler'' subroutines for output on various
terminals, image displays, dot-matrix printers, laser printers, and pen
plotters. Currently 41 different devices are supported; the majority of
these device handlers have been contributed by users outside Caltech. 

Commercial alternatives to PGPLOT are now available, e.g.,
implementations of the GKS [Graphical Kernel System] international
standard. PGPLOT does not provide all the capabilities of GKS, but users
seem to prefer it because it is simple to use for common tasks, and it
is much easier to write a PGPLOT device handler than a corresponding GKS
handler. 

PGPLOT itself is written mostly in standard Fortran-77, with a few
non-standard, system-dependent subroutines. At Caltech, it runs under
the VAX/VMS, Convex-UNIX, and Sun-UNIX operating systems. 


(1) VMS standard version

The current VMS version of PGPLOT is version 4.9, and runs under VMS
V4.4 through V5.1 (and possibly later versions). In this version, all
device handlers are separate subroutines which can be included or
excluded in the shareable image to configure PGPLOT for a particular
installation. 

The following device handlers are available:

Terminals

GraphOn GO-230 terminal                         /GF
Tektronix 4006/4010 storage-tube terminal       /TEK4010
Retrographics modified VT100 terminal (VT640)   /RETRO
DEC VT125, VT240, or VT340 terminal (REGIS)     /VT125
Tektronix 4100-series color terminal            /TK4100
ZSTEM 240/4014 terminal emulators (IBM PC)      /ZSTEM

High-resolution Display Devices

DeAnza (Gould 8500 low resolution)              /DEanza
Grinnell GMR-270 Image Display System           /GRINNELL
Digisolve Ikon Pixel Engine                     /IKon
Liacom Graphic Video Display (GVD-02)           /LIacom
Peritek Corp. VCH-Q frame-buffer video          /PERITEK
Peritek Corp. VCK-Q frame-buffer video          /PK
Sigma Args, 7000 series                         /ARgs
Sigma, T5670 terminal                           /GOC
Tektronix 4014 (12 bit addressing)              /TFILE
VAX/VMS workstations                            /WS

Pen Plotters

Gould (now Bryans) Colourwriter 6320            /CW6320
HPGL Driver (tested on HP7475A plotter)         /HPGL
HPGL Driver (portrait mode)                     /VHPG
Hewlett Packard 7221 pen plotter                /HP7221
Houston Instruments HIDMP pen plotter           /HIDMP
Bruning (fmr Nicolet) Zeta 8 Digital Plotter    /ZEta

Laser Printers

Hewlett Packard LaserJet, LaserJet+,II          /LJ
PostScript device (landscape mode)              /PS
PostScript device (portrait mode)               /VPS
QUIC devices (QMS 800 etc) (landscape mode)     /QMS
QUIC devices (QMS 800 etc) (portrait mode)      /VQMS
Canon LBP-8/A2 Laser printer (landscape mode)   /BCanon
Canon LBP-8/A2 Laser printer (landscape mode)   /CAnon
Canon LBP-8/A2 Laser printer (portrait mode)    /VCanon
Impress (Imagen) device (landscape mode)        /IMPRESS
Impress (Imagen) device (portrait mode)         /VIMPRESS

Dot-matrix Printers

EPSON FX100 printer                             /EPSON
EXCL (C.Itoh Megaserve) printer                 /EXCL
LA50 and other DEC sixel printers               /LA50
Printronix P300 or P600 printer                 /PRINTRONIX
Toshiba ``3-in-on''" printer, model P351        /TOSHIBA
Versatec V80 printer (landscape mode)           /VERSATEC
Versatec V80 printer (portrait mode)            /VVERSATEC

Other

Null device (no graphical output)               /NULL
Metafile                                        /FILE


(2) VMS/GKS version

David Terrett of STARLINK has written a version of PGPLOT in which the
low-level routines (GRPCKG) and device handlers are replaced by standard
GKS (graphical kernel system) routines. This version should be usable
with any standard GKS implementation. The top-level routines (PGPLOT)
are interchangeable between this version and the VMS standard version.
For information, please contact him: 

DLT%UK.AC.RL.STAR@AC.UK  or DLT@STAR.RL.AC.UK


(3) UNIX version

The current UNIX version of PGPLOT is version 4.9, and has been tested
on Sun workstations, Convex and Alliant minisupercomputers, and Crays
running the Unicos operating system. The code is identical to the VMS 
version except in the device handlers. It should be fairly easy to adapt
to other Berkeley UNIX implementations. 

The following device handlers are available:

SunView (for use on Sun workstations running SunView).
CGI (for use on Sun workstations running the CGI software).
IVAS image display (Convex only).
Imagraph image display (Convex only).
Tektronix terminals and emulators (including Retrographics, GraphOn).
PostScript printers (e.g., Apple LaserWriter).
REGIS devices (e.g., DEC VT125/VT240 terminals).
Imagen printers (tested on Convex only).
Printronix printers (tested on Convex only).
QMS printers (tested on Convex only).
Versatec printers (tested on Convex only).
Null device (no output).

(4) Obtaining PGPLOT

As software written under US government support, PGPLOT is freely 
available, although it is copyrighted by California Institute of 
Technology. The software is provided ``as is''; I cannot promise that it
will work in your configuration, but all source code is included. If you 
have problems, please let me know and I will do what I can to help you.
You may obtain a copy from anyone who has one, but if you want me to
send you the latest version, I regret that I must ask for a nominal
contribution ($50) to cover time, materials, and postage. This includes
the tutorial/reference manual (about 120 pages). If you want a tape
cartridge rather than a 9-track tape reel, please add $25 (making $75 in
all). Make checks payable to California Institute of Technology. To
order a copy of PGPLOT, please supply the information indicated in the
following form. If you would like further information, please let me
know (electronic mail is preferred). 

			REQUEST FOR PGPLOT

Please complete the following and return to:

	Tim Pearson, 
	Astronomy Dept, 105-24,
	Caltech,
	Pasadena,
	California 91125, USA
_______________________________________________________________________________

Name: ___________________________________________________

Mailing Address: ________________________________________
		 ________________________________________
		 ________________________________________
		 ________________________________________
		 ________________________________________

Telephone:       ________________________________________

E-mail address (if available):

	SPAN/HEPnet:	 ________________________________________
	Bitnet/EARN:	 ________________________________________
	Internet:	 ________________________________________

Requested version (check one):

	VAX/VMS		________
	Unix		________

Operating system (be as specific as possible):

	Name:	________________________   Version: ________

Medium (check one):

VAX/VMS	___   9-track magnetic tape, 1600 bpi, VAX/VMS backup format
	___   9-track magnetic tape, 6250 bpi, VAX/VMS backup format
	___   Digital CompacTape cartridge (TK50), VAX/VMS backup format
	___   Digital CompacTape II cartridge (TK70), VAX/VMS backup format

Unix	___   9-track magnetic tape, 1600 bpi, UNIX tar format
	___   9-track magnetic tape, 6250 bpi, UNIX tar format
	___   DC600A tape cartridge, UNIX tar format (SUN only)

	___   Other: ______________________________________________________

Please enclose a check for $50 (9-track tape) or $75 (cartridge) made 
payable to California Institute of Technology.
_______________________________________________________________________________

Tim Pearson, Astronomy Dept, Caltech, Pasadena, California 91125, USA
BITNET/EARN:               TJP @ CITDEIMO
SPAN/HEPNet/Caltech:       Deimos::TJP or 6021::TJP
ARPA Internet:             TJP @ Deimos.Caltech.Edu
Telephone:                 +1 818 356-4980

