This is an archival dump of old wiki content --- see for current material.
Please see

The cookbook is a place for community contributions of recipes, howtos and examples.

Complete documentation and tutorials for matplotlib can be found at matplotlib's webpage

Simple Plotting

Pseudo Color Plots


3D Plotting

NOTE: Experimental work has been going on to integrate 3D plotting functionality into matplotlib. Please see the related mplot3d documentation or take a look at matplotlib gallery for example 3D plots. For a more sophisticated 3D visualization and plotting interface, you can try Mayavi which is actively maintained and features an 'mlab' interface similar to matplotlib's 'pylab'.

Embedding Plots in Apps


SciPy: Cookbook/Matplotlib (last edited 2015-10-24 17:48:26 by anonymous)