Menu

Tree [r7121] / trunk / matplotlib / examples /
 History

HTTPS access


File Date Author Commit
 animation 2009-05-14 leejjoon [r7102] An optional offset and bbox support in restore_...
 api 2009-04-01 jdh2358 [r7022] added compound path demo
 axes_grid 2009-04-21 leejjoon [r7056] Added axes_grid.inset_locator
 data 2009-05-03 efiring [r7078] Added options to plotfile
 event_handling 2009-02-12 ryanmay [r6910] Merged revisions 6906-6907,6909 via svnmerge from
 misc 2009-05-07 ryanmay [r7095] Clean up multiprocess a little. Remove unused ...
 mplot3d 2009-04-14 jdh2358 [r7041] added mpl_toolkits.mplot3d
 pylab_examples 2009-05-18 ryanmay [r7121] Move code for wrapping negative frequencies fro...
 tests 2009-04-14 jdh2358 [r7041] added mpl_toolkits.mplot3d
 units 2009-02-24 jrevans [r6930] Updated to reflect updated unit conversion inte...
 user_interfaces 2009-04-29 jdh2358 [r7070] add masked array support to fill_between
 widgets 2008-11-20 efiring [r6425] Fix specification of gray level in slider_demo;...
 README.txt 2008-06-03 jdh2358 [r5378] updated readme

Read Me

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, eg 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)

  * data - some data files we use in the examples

  * 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

  * pylab_examples - the  interface to matplotlib similar to matlab

  * tests - tests used by matplotlib developers to check functionality

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

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