Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
PGPLOT12.1 is a flexible and well known 2-dimensional (line plots and rasters) FORTRAN and C callable library. PGPLOT has been bound to Glish so that Glish users can embed PGPLOT widgets into their Glish/Tk GUI windows. While the PGPLOT library itself has a large number of device drivers, only the Tk and PostScript drivers are available from Glish. PGPLOT was developed and is maintained by Tim Pearson. PGPLOT is copyrighted software; not public domain. For further information see the PGPLOT home page. The AIPS++ PGPLOT widget is a variant of Martin Shepherd's Tcl/Tk PGPLOT widget. It was adapted for use with Rivet and AIPS++ through a collaboration between its author and Darrell Schiebel.
Naturally, any limitations inherent in the PGPLOT package itself will be manifested in the Glish implementation of PGPLOT. For example, PGPLOT may not display data and axis labels properly when 7 or more significant digits are required for axis labeling.
Besides having PGPLOT functionality directly available to the Glish programmer and user, the primary advantage of having PGPLOT directly bound to Glish is that the PGPLOT widget can be embedded into larger control panels. For example, you can use a glish widget as a ``chart recorder'' in some larger GUI device controller.
All PGPLOT functionality is available from the Glish command line. The functionality is generally invoked from Glish in much the same way as the subroutine libraries except:
At present, the only PGPLOT device drivers which are bound to Glish are:
If you forget the available PGPLOT drivers, you can find out which ones are available with pg->ldev ().