pgplot

pgplot is available in debian sid (non-free), and also in ubuntu's multiverse distribution (which is the equivalent of non-free).

installation

dkg added this package to metis by enabling the multiverse archive and then running:

[dkg@metis ~]$ sudo apt-get install pgplot5
Password:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  gcc-3.4-base libg2c0 libpng10-0 libpng2
Suggested packages:
  g77 libpng2-dev zlib1g-dev xlibs-dev
The following NEW packages will be installed:
  gcc-3.4-base libg2c0 libpng10-0 libpng2 pgplot5
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 941kB of archives.
After unpacking 2400kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://us.archive.ubuntu.com breezy/main gcc-3.4-base 3.4.4-6ubuntu8 [163kB]
Get:2 http://us.archive.ubuntu.com breezy/main libg2c0 1:3.4.4-6ubuntu8 [50.1kB]
Get:3 http://us.archive.ubuntu.com breezy/main libpng10-0 1.0.18-1ubuntu3 [109kB]
Get:4 http://us.archive.ubuntu.com breezy/universe libpng2 1.0.18-1ubuntu3 [944B]
Get:5 http://us.archive.ubuntu.com breezy/multiverse pgplot5 5.2.2-6 [618kB]
Fetched 941kB in 1s (851kB/s)                              

Preconfiguring packages ...
Selecting previously deselected package gcc-3.4-base.
(Reading database ... 63459 files and directories currently installed.)
Unpacking gcc-3.4-base (from .../gcc-3.4-base_3.4.4-6ubuntu8_i386.deb) ...
Selecting previously deselected package libg2c0.
Unpacking libg2c0 (from .../libg2c0_1%3a3.4.4-6ubuntu8_i386.deb) ...
Selecting previously deselected package libpng10-0.
Unpacking libpng10-0 (from .../libpng10-0_1.0.18-1ubuntu3_i386.deb) ...
Selecting previously deselected package libpng2.
Unpacking libpng2 (from .../libpng2_1.0.18-1ubuntu3_all.deb) ...
Selecting previously deselected package pgplot5.
Unpacking pgplot5 (from .../pgplot5_5.2.2-6_i386.deb) ...
Setting up gcc-3.4-base (3.4.4-6ubuntu8) ...
Setting up libg2c0 (3.4.4-6ubuntu8) ...

Setting up libpng10-0 (1.0.18-1ubuntu3) ...

Setting up libpng2 (1.0.18-1ubuntu3) ...

Setting up pgplot5 (5.2.2-6) ...

[dkg@metis ~]$ 

licensing

pgplot appears to be non-free because it discriminates against fields of endeavor. However, since CAL falls within the allowable fields of endeavor, we are free to use it:

[dkg@metis ~]$ cat /usr/share/doc/pgplot5/copyright 
Below is a verbatim copy of the PGPLOT library copyright.
The Debian package was first made by John Lapeyre
<lapeyre@physics.arizona.edu> and now updated and maintained by Gopal
Narayanan <gopal@debian.org>.
The source was obtained from http://astro.caltech.edu/~tjp/pgplot/ .
More information can be obtained at this site.

***********************************************************************
*    PGPLOT Fortran Graphics Subroutine Library                       *
*    Version 5.2.0                                                    *
***********************************************************************

***********************************************************************
*                                                                     *
*  Copyright (c) 1983-1997 by the California Institute of Technology. *
*  All rights reserved.                                               *
*                                                                     *
*  For further information, contact:                                  *
*     Dr. T. J. Pearson                                               *
*     105-24 California Institute of Technology,                      *
*     Pasadena, California 91125, USA                                 *
*                                                                     *
*     tjp@astro.caltech.edu                                           *
*                                                                     *
* The PGPLOT library, both binary and source, and the PGPLOT manual   *
* `PGPLOT Graphics Subroutine Library' are copyrighted, but available *
* without fee for education, academic research and non-commercial     *
* purposes. Ownership of the software remains with the California     *
* Institute of Technology.  Users may distribute the binary and       *
* source code to third parties provided that the copyright notice and *
* this statement appears on all copies and that no charge is made for *
* such copies.  Any entity wishing to integrate all or part of the    *
* source code into a product for commercial use or resale should      *
* contact the author at the above address.                            *
*                                                                     *
* THE CALIFORNIA INSTITUTE OF TECHNOLOGY MAKES NO REPRESENTATIONS     *
* ABOUT THE SUITABILITY OF THE SOFTWARE FOR ANY PURPOSE.  IT IS       *
* PROVIDED `AS IS' WITHOUT EXPRESS OR IMPLIED WARRANTY.  THE          *
* CALIFORNIA INSTITUTE OF TECHNOLOGY SHALL NOT BE LIABLE FOR ANY      *
* DAMAGES SUFFERED BY THE USER OF THIS SOFTWARE.                      *
*                                                                     *
* The software may have been developed under agreements between the   *
* California Institute of Technology and the Federal Government which *
* entitle the Government to certain rights.                           *
*                                                                     *
***********************************************************************
[dkg@metis ~]$