Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in python scripts, the python and ipython shell (ala MATLAB or Mathematica), web application servers, and six graphical user interface toolkits.
The following steps need to be taken to install matplotlib:
- sudo apt-get install python-dev
- download numpy, which is the fundamental package needed for scientific computing with Python, here
- tar -xvf numpy-1.5.1.tar.gz
- sudo apt-get install gfortran
- cd numpy-1.5.1
- sudo python setup.py install
- sudo apt-get install python-matplotlib or get it here
- sudo apt-get install python-tk
- download pmw here
- tar -xvf Pmw.1.3.2.tar.gz
- cd Pmw.1.3.2
- cd src
- sudo python setup.py install
Note that Glade (which can be found here) could come in handy to design the GUI. Note also that I first tried to work with GNUPlot (using gnuplot-py), but the embedding of these graphs was not fully supported.
PS: Last week I made a little progress with the Curses interface for the CPU utilization monitoring, more on that later.