|
| 1 | +matplotlib examples |
| 2 | +=================== |
| 3 | + |
| 4 | +There are a variety of ways to use matplotlib, and most of them are |
| 5 | +illustrated in the examples in this directory. |
| 6 | + |
| 7 | +Probably the most common way people use matplotlib is with the |
| 8 | +procedural interface, which follows the matlab/IDL/mathematica |
| 9 | +approach of using simple procedures like "plot" or "title" to modify |
| 10 | +the current figure. These examples are included in the "pylab" |
| 11 | +directory. If you want to write more robust scripts, eg for |
| 12 | +production use or in a web application server, you will probably want |
| 13 | +to use the matplotlib API for full control. These examples are found |
| 14 | +in the "api" directory. Below is a brief description of the different |
| 15 | +directories found here: |
| 16 | + |
| 17 | + * animation - dynamic plots, see the tutorial at |
| 18 | + http://www.scipy.org/Cookbook/Matplotlib/Animations |
| 19 | + |
| 20 | + * api - working with the matplotlib API directory. See the |
| 21 | + doc/artist_api_tut.txt in the matplotlib src directory ((PDF at |
| 22 | + http://matplotlib.sf.net/pycon) |
| 23 | + |
| 24 | + * data - some data files we use in the examples |
| 25 | + |
| 26 | + * event_handling - how to interact with your figure, mouse presses, |
| 27 | + key presses, object picking, etc. See the event handling tutorial |
| 28 | + in the "doc" directory of the source distribution (PDF at |
| 29 | + http://matplotlib.sf.net/pycon) |
| 30 | + |
| 31 | + * misc - some miscellaneous examples. some demos for loading and |
| 32 | + working with record arrays |
| 33 | + |
| 34 | + * pylab - the interface to matplotlib similar to matlab |
| 35 | + |
| 36 | + * tests - tests used by matplotlib developers to check functionality |
| 37 | + |
| 38 | + * units - working with unit data an custom types in matplotlib |
| 39 | + |
| 40 | + * user_interfaces - using matplotlib in a GUI application, eg |
| 41 | + TkInter, WXPython, pygtk, pyqt or FLTK widgets |
| 42 | + |
0 commit comments