Matplotlib
From Wikipedia, the free encyclopedia
matplotlib | |
---|---|
Example plot by matplotlib |
|
Design by | John Hunter |
Latest release | 0.98.0 / 2008-05-29 |
OS | Cross-platform |
Genre | Plotting |
License | Own free licence |
Website | matplotlib.sf.net |
Matplotlib is a plotting library for the Python programming language and its NumPy numerical mathematics extension. It provides a "pylab" API designed to closely resemble that of MATLAB, thereby making it easy to learn for experienced MATLAB users. Matplotlib is written and maintained primarily by John Hunter, and is distributed under a BSD-style license.
The "pylab" interface is procedural and based on a state machine, like OpenGL. There is also an OOP interface which has less thorough documentation and greater complexity but which allows matplotlib plots to be embedded into applications using generic GUI toolkits, like wxPython, Qt or GTK.
[edit] Comparison with MATLAB
Matplotlib has become a viable alternative for many MATLAB users, and – like MATLAB before it – it is on its way to become a commonly used teaching tool for numerical mathematics and signal processing.
Advantages of Python+NumPy+Matplotlib over MATLAB include:
- Based on Python, a full-featured modern object-oriented programming language suitable for large-scale software development
- Suitable for fast scripting, including CGI scripts
- Free, open source, no license servers
[edit] Compare to
- Chaco
- wxPython (module wx.lib.plot.py)
- Biggles [1]
- DISLIN
- Gnuplot-py [2]
- PyPlotter [3] – compatible with Jython
- PyX [4]
- ReportLab
- SciPy (modules plt and gplt)
- PyCha [5] - libcairo [6] implementation