| 1 |
PGPLOT module for Perl |
| 2 |
---------------------- |
| 3 |
|
| 4 |
Karl Glazebrook |
| 5 |
|
| 6 |
karl_pgplot at mac dot com |
| 7 |
|
| 8 |
Last update to this file: Apr 10th 2006 |
| 9 |
|
| 10 |
|
| 11 |
This module allows the use of the the PGPLOT graphics library from the |
| 12 |
popular Perl scripting language. PGPLOT makes it very easy to process |
| 13 |
and plot data using the powerful file and text manipulation facilites |
| 14 |
built in to Perl. Perl provides a superset of the features of the |
| 15 |
useful UNIX utilities awk and sed and is the `Swiss-Army Chainsaw' of |
| 16 |
UNIX programming. |
| 17 |
|
| 18 |
Because Perl is a scripting language a program can be changed and rerun |
| 19 |
to instantly see the effect on a plot. This makes program development |
| 20 |
a lot faster and much more fun than when using PGPLOT from fully |
| 21 |
compiled languages such as C or FORTRAN. Users of MONGO and SM will be |
| 22 |
familiar with this style of programming. Perl also allows you to create |
| 23 |
advanced World Wide Web page features and/or routinely do system |
| 24 |
management tasks (Perl handles regular expressions, files and sockets |
| 25 |
with equal ease). |
| 26 |
|
| 27 |
PGPLOT is a very popular library for plotting astronomical data. (As a |
| 28 |
glance through any issue of ApJ or MNRAS will confirm.) I have always |
| 29 |
found that with PGPLOT I could produced far nicer and more complex |
| 30 |
plots than I could with MONGO but it was always harder to use because |
| 31 |
it had to be done from C or FORTRAN. SM is a nice package, but the |
| 32 |
language is primitive in comparison with Perl and it is not free |
| 33 |
software. |
| 34 |
|
| 35 |
The PGPLOT module for Perl is free software and provides a complete |
| 36 |
Perl interface to all of the PGPLOT library functions. It builds |
| 37 |
against the PGPLOT C/FORTRAN libraries. |
| 38 |
|
| 39 |
The core module is available from The Comprehensive Perl Archive |
| 40 |
(CPAN) network in the directory |
| 41 |
|
| 42 |
http://search.cpan.org/search%3fmodule=PGPLOT |
| 43 |
|
| 44 |
---------------- |
| 45 |
|
| 46 |
Installation instructions - see the file INSTALL |
| 47 |
|
| 48 |
Problems - see the file HELP |
| 49 |
|
| 50 |
News - see the file CHANGES for new features/bug fixes. |
| 51 |
|
| 52 |
NOTES FOR LUT TABLES |
| 53 |
-------------------- |
| 54 |
The colour tables were taken from STARLINK's GAIA distribution, where they |
| 55 |
have the GNU copyleft. Further information on STARLINK and GAIA can be found |
| 56 |
via http://star-www.rl.ac.uk/ and http://star-www.dur.ac.uk/~pdraper/. |