GNU/Linux Desktop Survival Guide
by Graham Williams
This charting toolkit with bindings for Python is available from http://athani.pair.com/msteed/software/gdchart/. However, for sophisticated plotting the R statistics package is recommended, particularly through it's Python interface RPy. See Chapter 76.
Some of the required packages include: python2.1-dev zlib1g-dev libpng2-dev libjpeg62-dev.
Installation is straightforward. (Note that there is not currently a Debian package for python-gdchart so need to compile and install it. The installation is in /usr/local because of this.)
$ wget http://athani.pair.com/msteed/software/gdchart/gdchart-py-0.6.tar.gz $ tar zxvf gdchart-py-0.6.tar.gz $ cd gdchart-py-0.6 $ perl -pi -e 's|local/include/python2.0|include/python2.1|' Makefile $ make $ su # cp gdchart.so /usr/local/lib/python2.1/site-packages/ # chown root.staff /usr/local/lib/python2.1/site-packages/gdchart.so # chmod o+rx /usr/local/lib/python2.1/site-packages/gdchart.so # exit