... | ... | @@ -16,7 +16,8 @@ Table of Contents |
|
|
Purpose of PGPLOT within Seitosh
|
|
|
--------------------------------
|
|
|
[PGPLOT](http://www.astro.caltech.edu/~tjp/pgplot/) is a Fortran graphics library for scientific data display.
|
|
|
Many programs in this repository make use of PGPLOT either directly in Fortran or through the C++ API [libpgplotxx](../../blob/master/src/libs/libpgplotxx).
|
|
|
Many programs in this repository make use of PGPLOT either directly in Fortran
|
|
|
or through the C++ API [libpgplotxx](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/src/libs/libpgplotxx).
|
|
|
PGPLOT supports output to many different [devices](http://www.astro.caltech.edu/~tjp/pgplot/devices.html), including interactive screen plots as well as Postscript files.
|
|
|
In the early days PGPLOT was attractive in particular due to his ability to produce interactive screen plots from Fortran 77 on [Tektronix terminals](http://www.astro.caltech.edu/~tjp/pgplot/ttdriv.html) (well, this is history: http://en.wikipedia.org/wiki/Tektronix_4010).
|
|
|
|
... | ... | @@ -49,10 +50,10 @@ with specific notes for |
|
|
Any other directory name or path for the ''source-code directory'' will do as well, just use its name consistently throughout the installation process.
|
|
|
1. PGPLOT does not come with `gfortran` support.
|
|
|
To use `gfortran` to compile PGPLOT, you might like to copy one of the files
|
|
|
in [contrib/pgplot](../../blob/master/contrib/pgplot)
|
|
|
in [contrib/pgplot](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/contrib/pgplot)
|
|
|
to `~/repo/pgplot/pgplot5.2.2/sys_linux`:
|
|
|
* [gfortran_gcc.conf](../../blob/master/contrib/pgplot/gfortran_gcc.conf) uses standard system library paths
|
|
|
* [gfortran_gcc_64.conf](../../blob/master/contrib/pgplot/gfortran_gcc_64.conf) uses path names `lib64` to refer to X11
|
|
|
* [gfortran_gcc.conf](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/contrib/pgplot/gfortran_gcc.conf) uses standard system library paths
|
|
|
* [gfortran_gcc_64.conf](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/contrib/pgplot/gfortran_gcc_64.conf) uses path names `lib64` to refer to X11
|
|
|
and TK libraries (this is necessary on 64bit systems to links against the
|
|
|
64bit version of the binary library instead of the 32bit version).
|
|
|
Edit the files to match your system configuration
|
... | ... | @@ -121,9 +122,9 @@ with specific notes for |
|
|
At least two environment variables
|
|
|
(`PGPLOT_DIR` and `TF_LINK_PGPLOT`)
|
|
|
must be set appropriately to use PGPLOT together with source code from the Seitosh repository.
|
|
|
See also [README.compile](../../blob/master/src/README.compile).
|
|
|
See also [README.compile](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/src/README.compile).
|
|
|
A template bashrc is provided in
|
|
|
[SeitoshBashrc](../../blob/master/contrib/SeitoshBashrc).
|
|
|
[SeitoshBashrc](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/contrib/SeitoshBashrc).
|
|
|
|
|
|
#### `PGPLOT_DIR`
|
|
|
This variable contains the path of the PGPLOT ''installation directory''.
|
... | ... | @@ -167,7 +168,7 @@ The collection of drivers is documented at |
|
|
http://www.astro.caltech.edu/~tjp/pgplot/devices.html
|
|
|
Some general configurations options can be selected through environment variables.
|
|
|
Some of these settings are prepared in
|
|
|
[SeitoshBashrc](../../blob/master/contrib/SeitoshBashrc).
|
|
|
[SeitoshBashrc](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/contrib/SeitoshBashrc).
|
|
|
|
|
|
### X Window driver
|
|
|
The X window driver can be configured by settings in `~/.Xdefaults`.
|
... | ... | @@ -176,7 +177,7 @@ See http://www.astro.caltech.edu/~tjp/pgplot/xwdriv.html for details. |
|
|
### Postscript driver
|
|
|
The postscript driver can be configured by setting environment variables.
|
|
|
Appropriate settings are prepared in
|
|
|
[SeitoshBashrc](../../blob/master/contrib/SeitoshBashrc).
|
|
|
[SeitoshBashrc](https://git.scc.kit.edu/Seitosh/Seitosh/blob/master/contrib/SeitoshBashrc).
|
|
|
See http://www.astro.caltech.edu/~tjp/pgplot/psdriv.html for details.
|
|
|
|
|
|
#### `PGPLOT_PS_WIDTH` (default 7800)
|
... | ... | |