Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms.

Instructions for users

On Ubuntu workstations this is available in the system Python and also in the Anaconda Scientific Python Distribution which is provided as a module.

On managed Windows machines this can be installed easily using WPKG.

Documentation

There is some documentation on the website https://matplotlib.org/ including an FAQ, Tutorial and User's guide.

Admin notes

Have to build this from source on SuSE. Needed to install python-gtk-devel. It builds OK without it but you won't get a GUI! Numpy is also a dependency.

  python setup.py install --prefix=/usr/local/shared/suse-11.1/i386/python 

On Ubuntu it's part of the distro.

You can test it by doing:
 

python3
from pylab import *
plot([1,2,3,4])
show()


This should draw a straight line graph.