- matplotlib
-
matplotlib Original author(s) John Hunter Stable release 1.1.0 / 6 October 2011 Operating system Cross-platform Type Plotting License matplotlib licence Website matplotlib.sourceforge.net matplotlib is a plotting library for the Python programming language and its NumPy numerical mathematics extension. It provides an object-oriented API which allows plots to be embedded into applications using generic GUI toolkits, like wxPython, Qt, or GTK. There is also a procedural "pylab" interface based on a state machine (like OpenGL), designed to closely resemble that of MATLAB.
matplotlib is written and maintained primarily by John Hunter, and is distributed under a BSD-style license.
Currently[update], matplotlib has support for Python versions 2.4 through 2.7.[1] It does not yet support Python 3.x, but there is an official py3k port under continuous development.[2]
The package pylab combines pyplot with NumPy into a single namespace.[3]
Contents
Comparison with MATLAB
The pylab interface makes matplotlib easy to learn for experienced MATLAB users, resulting in a viable alternative for many MATLAB users as a teaching tool for numerical mathematics and signal processing.
Some of the advantages of the combination of Python, NumPy, and matplotlib over MATLAB include:
- Based on Python, a full-featured modern object-oriented programming language suitable for large-scale software development
- Free, open source, no license servers
- Native SVG support
Example plots
Toolkits
Several toolkits are available which extend matplotlib functionality. Some are separate downloads, others ship with the matplotlib source code but have external dependencies.[4]
- Basemap: map plotting with various map projections, coastlines, and political boundaries[5]
- Mplot3d: 3-D plots
- Natgrid: interface to the natgrid library for gridding irregularly spaced data.
- Excel tools: utilities for exchanging data with Microsoft Excel
- GTK tools: interface to the GTK+ library
Related projects
- Biggles[6]
- Chaco[7]
- DISLIN
- GNU Octave
- Gnuplot-py[8]
- PLplot – provides also Python bindings
- PyCha[9] libcairo implementation
- PyPlotter[10] – compatible with Jython
- Pyx[11]
- ReportLab
- SciPy (modules plt and gplt)
- wxPython (module wx.lib.plot.py)
References
- ^ "Installing — Matplotlib v1.0.1 documentation". http://matplotlib.sourceforge.net/users/installing.html. Retrieved 2011-06-30.
- ^ "Matplotlib-1.0.1 for Py3k". https://github.com/matplotlib/matplotlib-py3. Retrieved 2011-07-30.
- ^ "Matplotlib pyplot". matplotlib.sourceforge.net. http://matplotlib.sourceforge.net/api/pyplot_api.html.
- ^ "Toolkits". matplotlib.sourceforge.net. http://matplotlib.sourceforge.net/users/toolkits.html.
- ^ Whitaker, Jeffrey. "The Matplotlib Basemap Toolkit User’s Guide (v. 1.0; 17 Jan 2011)". Matplotlib Basemap Toolkit documentation. http://matplotlib.sourceforge.net/basemap/doc/html/users/index.html. Retrieved 8 February 2011.
- ^ "Bigglessimple, elegant python plotting". biggles.sourceforge.net. http://biggles.sourceforge.net/. Retrieved 24 November 2010.
- ^ "Chaco". code.enthought.com. http://code.enthought.com/chaco.
- ^ "Gnuplot.py on". gnuplot-py.sourceforge.net. http://gnuplot-py.sourceforge.net/. Retrieved 24 November 2010.
- ^ "PyCha". bitbucket.org. http://bitbucket.org/lgs/pycha/.
- ^ "PyPlotter". http://www.eckhartarnold.de/apppages/pyplotter.html.
- ^ "PyX". pyx.sourceforge.net/. http://pyx.sourceforge.net/.
External links
This free software-related article is a stub. You can help Wikipedia by expanding it.