Menu

Tree [r8989] / branches / v1_0_maint / examples /
 History

HTTPS access


File Date Author Commit
 animation 2011-01-13 efiring [r8911] Apply Laurent Dufreshou's bug fix to animiation...
 api 2011-01-12 efiring [r8908] Add missing show() to example; patch by C. Gohl...
 axes_grid 2010-04-20 leejjoon [r8247] update axes_grid toolkit documentation
 event_handling 2010-04-20 ryanmay [r8260] Update timer support to allow for kwargs on cal...
 misc 2010-05-13 ianthomas23 [r8316] Added triangular grid plotting and contouring f...
 mplot3d 2010-07-14 weathergod [r8543] Added documentation and examples for new, easie...
 pylab_examples 2011-02-01 mdboom [r8939] [3167200] Use from PIL import Image
 tests 2010-06-01 efiring [r8363] backend_driver: suppress "invalid value" warnings
 units 2010-11-09 jdh2358 [r8785] fix a bug in context so plot directive will be ...
 user_interfaces 2011-02-01 mdboom [r8939] [3167200] Use from PIL import Image
 widgets 2010-06-01 efiring [r8362] widget example improvements by M. Michler, patc...
 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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.