52.4 GDChart

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 its Python interface RPy. See Chapter ??.

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

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0