The matplotlib is a plotting library for python which uses a syntax based on matlab. It is quite powerful: there are a large sets of 2D and 3D graphs available, it suports most of windowing toolkits (GTK, Tkinter, Qt, and wxWindows) for embedded GUI applications as well as interfacing with the python shell (see IPython).
See other python plotting solutions and compare.
http://wiki.python.org/moin/NumericAndScientific/Plotting
Bellow we describe an example of embedded PyGTK with Glade application that uses matplotlib. It just draws a barchart graph. The code is based on the matplotlib examples, serpia pygtk tutorial and matplotlib cookbook.
Continue reading ‘Plotting with MatPlotLib, PyGTK and Glade’