Skip to content

Files

Latest commit

Jul 27, 2015
b4b0c91 · Jul 27, 2015

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 27, 2015
Jul 17, 2015
Jun 30, 2015
Mar 22, 2015
Jun 22, 2015
Jul 17, 2015
Dec 30, 2014
Nov 15, 2014
Jun 16, 2015
Nov 15, 2014
Jul 24, 2015
Mar 2, 2015
Nov 15, 2014
Jul 11, 2015
Mar 22, 2015
Nov 15, 2014
Nov 15, 2014
Feb 2, 2014
Feb 8, 2015
May 22, 2015
Oct 24, 2014
Nov 18, 2014
Apr 23, 2015
Nov 15, 2014
Nov 1, 2014
matplotlib examples
===================

There are a variety of ways to use matplotlib, and most of them are
illustrated in the examples in this directory.

Probably the most common way people use matplotlib is with the
procedural interface, which follows the matlab/IDL/mathematica
approach of using simple procedures like "plot" or "title" to modify
the current figure.  These examples are included in the "pylab_examples"
directory.  If you want to write more robust scripts, e.g., for
production use or in a web application server, you will probably want
to use the matplotlib API for full control.  These examples are found
in the "api" directory.  Below is a brief description of the different
directories found here:

  * animation - dynamic plots, see the tutorial at
    http://www.scipy.org/Cookbook/Matplotlib/Animations

  * api - working with the matplotlib API directory.  See the
    doc/artist_api_tut.txt in the matplotlib src directory ((PDF at
    http://matplotlib.sf.net/pycon)

  * axes_grid - Examples related to the AxesGrid toolkit

  * event_handling - how to interact with your figure, mouse presses,
    key presses, object picking, etc.  See the event handling tutorial
    in the "doc" directory of the source distribution (PDF at
    http://matplotlib.sf.net/pycon)

  * misc - some miscellaneous examples.  some demos for loading and
    working with record arrays

  * mplot3d - 3D examples

  * pylab_examples - the  interface to matplotlib similar to matlab

  * tests - tests used by matplotlib developers to check functionality
    (These tests are still sometimes useful, but mostly developers should
    use the nosetests which perform automatic image comparison.)

  * units - working with unit data an custom types in matplotlib

  * user_interfaces - using matplotlib in a GUI application, e.g.,
    TkInter, WXPython, pygtk, pyqt or FLTK widgets

  * widgets - Examples using interactive widgets