Menu

Tree [r7910] / branches / v0_91_maint / examples /
 History

HTTPS access


File Date Author Commit
 data 2008-02-19 jdh2358 [r4977] added rec_groupby and rec2txt
 units 2008-02-08 jrevans [r4948] Removed a reference to nx, replaced with numpy.
 widgets 2008-05-28 jdh2358 [r5292] added keywords to configure sliders for sf patc...
 README 2003-05-12 jdh2358 [r8] adding examples
 README.wx 2005-07-29 jdh2358 [r1573] preparing 0.83.2
 __init__.py 2004-06-27 stevech [r374] SC 27/06/2004
 accented_text.py 2007-08-30 mdboom [r3757] Remove the "markup" kwarg and rcParam everywher...
 agg_buffer_to_array.py 2007-07-15 jdh2358 [r3532] added agg buffer to numpy array example
 agg_oo.py 2005-02-01 jdh2358 [r909] fixed a close(fig) bug
 agg_resize.py 2007-06-07 nnemec [r3371] remove trailing spaces
 agg_test.py 2007-07-17 jdh2358 [r3554] recleanup of axes imports
 alignment_test.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 anim.py 2005-08-31 stevech [r1686] 'SC'
 animation_blit.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 animation_blit_fltk.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 animation_blit_qt.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 animation_blit_qt4.py 2007-11-02 dsdale [r4096] commit patch 1599876, fixes to qt4agg backend a...
 animation_blit_tk.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 animation_blit_wx.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 annotation_demo.py 2007-12-06 jrevans [r4644] Updated to demonstrate 'offset points'
 anscombe.py 2007-06-07 nnemec [r3371] remove trailing spaces
 arctest.py 2005-05-27 jdh2358 [r1372] added daisha patch
 arrow_demo.py 2007-11-01 dsdale [r4088] dont enable usetex in arrow_demo.py
 axes_demo.py 2007-08-12 efiring [r3701] numpification of mlab
 axes_props.py 2007-06-07 nnemec [r3371] remove trailing spaces
 axhspan_demo.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 axis_equal_demo.py 2005-08-12 jdh2358 [r1630] added axis equal demo
 backend_driver.py 2007-11-15 mdboom [r4316] Have backend_driver report times for each indiv...
 bar_stacked.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 barchart_demo.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 barcode_demo.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 barh_demo.py 2006-12-09 efiring [r2913] Added linewidth kwarg to bar, barh; fixed bugs
 boxplot_demo.py 2006-12-16 efiring [r2929] Boxplot enhanced for more flexible input
 break.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 broken_barh.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 clippath_test.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 clippedline.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 cohere_demo.py 2007-10-29 jdh2358 [r4062] added cohere demo
 collections_demo.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 color_by_yvalue.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 color_demo.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 colorbar_only.py 2007-09-03 efiring [r3769] Added example of a standalone colorbar.
 colours.py 2007-08-12 efiring [r3701] numpification of mlab
 contour_demo.py 2007-07-20 efiring [r3597] A few more changes in examples
 contour_image.py 2005-11-27 efiring [r1882] Multiple changes in support of colormaps from a...
 contourf_demo.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 coords_demo.py 2005-03-29 jdh2358 [r1101] added curosor props to ax
 coords_report.py 2007-12-05 pkienzle [r4632] docu update: coord reporting works in wx
 csd_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 cursor_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 custom_figure_class.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 custom_ticker1.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 customize_rc.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 dannys_example.py 2007-08-30 mdboom [r3757] Remove the "markup" kwarg and rcParam everywher...
 dash_control.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 dashpointlabel.py 2007-12-11 jdh2358 [r4698] fixed text with dash bug
 dashtick.py 2005-06-01 jdh2358 [r1392] sync
 data_browser.py 2007-06-20 jdh2358 [r3403] readded data browser
 data_helper.py 2007-12-01 astraw [r4537] Fix loading of AAPL data in get_two_stock_data()
 date_demo1.py 2007-07-05 efiring [r3464] Make cairo testing easier (partial)
 date_demo2.py 2007-04-17 jdh2358 [r3240] fixed up date demos
 date_demo_convert.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 date_demo_rrule.py 2005-11-02 jdh2358 [r1852] added afm supoprt for mathtext
 date_index_formatter.py 2007-11-09 jdh2358 [r4175] reverted rec utils to mlab
 dynamic_collection.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 dynamic_demo.py 2007-01-14 stevech [r2983] SC
 dynamic_demo_wx.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 dynamic_image_gtkagg.py 2007-01-14 stevech [r2984] SC
 dynamic_image_wxagg.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 dynamic_image_wxagg2.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 ellipse_demo.py 2007-07-20 efiring [r3597] A few more changes in examples
 ellipse_rotated.py 2006-09-05 jdh2358 [r2754] added some ellipse and inside poly examples and...
 embedding_in_gtk.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 embedding_in_gtk2.py 2008-05-17 jdh2358 [r5171] made backend agg open png in binary mode
 embedding_in_gtk3.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 embedding_in_qt.py 2007-09-24 dsdale [r3882] modifed embedding_in_qt* examples so they can b...
 embedding_in_qt4.py 2007-09-24 dsdale [r3882] modifed embedding_in_qt* examples so they can b...
 embedding_in_tk.py 2008-05-17 jdh2358 [r5171] made backend agg open png in binary mode
 embedding_in_tk2.py 2008-05-17 jdh2358 [r5171] made backend agg open png in binary mode
 embedding_in_wx.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 embedding_in_wx2.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 embedding_in_wx3.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 embedding_in_wx4.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 equal_aspect_ratio.py 2007-10-29 mdboom [r4057] Improve the code coverage of backend_driver.py
 errorbar_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 errorbar_limits.py 2007-09-04 efiring [r3772] Errorbar limit symbols patch by Manuel Metz
 figimage_demo.py 2007-12-13 jdh2358 [r4720] moved optional rec2* packages out of mlab and i...
 figlegend_demo.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 figtext.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 fill_between.py 2007-07-14 jdh2358 [r3527] added poly_netween and updated fill_between
 fill_between_posneg.py 2005-11-04 astraw [r1854] Put function definitions at beginning to elimin...
 fill_demo.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 fill_demo2.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 fill_spiral.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 finance_demo.py 2007-03-20 jdh2358 [r3096] added mikes units patch
 font_indexing.py 2007-07-06 edin1 [r3475] Fixed (some?) paths to fonts (because of the ch...
 font_table_ttf.py 2007-06-30 nnemec [r3440] tiny fix to example code
 fonts_demo.py 2007-08-14 efiring [r3707] Use pickle to cache entire fontManager instance.
 fonts_demo_kw.py 2007-08-14 efiring [r3707] Use pickle to cache entire fontManager instance.
 ftface_props.py 2007-07-06 edin1 [r3475] Fixed (some?) paths to fonts (because of the ch...
 ganged_plots.py 2005-06-15 jdh2358 [r1471] syncing for 82
 glyph_to_path.py 2007-07-06 edin1 [r3475] Fixed (some?) paths to fonts (because of the ch...
 gradient_bar.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 gtk_spreadsheet.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 hatch_demo.py 2006-03-09 jdh2358 [r2136] added hatch demo
 hist_colormapped.py 2007-12-04 jdh2358 [r4572] colormapped histogram
 histogram_demo.py 2007-08-30 mdboom [r3757] Remove the "markup" kwarg and rcParam everywher...
 histogram_demo_canvasagg.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 hline_demo.py 2007-10-29 mdboom [r4057] Improve the code coverage of backend_driver.py
 image_demo.py 2007-07-20 efiring [r3597] A few more changes in examples
 image_demo2.py 2007-11-09 efiring [r4176] Pylab uses numpy instead of oldnumeric
 image_demo3.py 2006-07-11 efiring [r2555] Remove invalid aspect kwarg from call to image().
 image_interp.py 2007-06-07 nnemec [r3371] remove trailing spaces
 image_masked.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 image_origin.py 2006-12-19 dsdale [r2936] update references to .matplotlibrc, now matplot...
 image_slices_viewer.py 2007-10-29 jdh2358 [r4062] added cohere demo
 integral_demo.py 2007-08-30 mdboom [r3757] Remove the "markup" kwarg and rcParam everywher...
 interactive.py 2007-07-20 efiring [r3596] examples/* updates from Stefan van der Walt
 interactive2.py 2007-07-20 efiring [r3596] examples/* updates from Stefan van der Walt
 interp_demo.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 invert_axes.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 keypress_demo.py 2007-10-29 jdh2358 [r4061] fixed some examples bugs
 lasso_demo.py 2007-12-11 jdh2358 [r4698] fixed text with dash bug
 layer_images.py 2007-06-07 nnemec [r3371] remove trailing spaces
 legend_auto.py 2007-10-29 mdboom [r4057] Improve the code coverage of backend_driver.py
 legend_demo.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 legend_demo2.py 2007-06-07 nnemec [r3371] remove trailing spaces
 legend_scatter.py 2005-11-30 jdh2358 [r1894] some new examples
 line_collection.py 2005-04-28 jdh2358 [r1245] added darrens line collection example
 line_collection2.py 2006-05-30 efiring [r2424] Example of LineCollection with colormap
 line_styles.py 2007-06-07 nnemec [r3371] remove trailing spaces
 lineprops_dialog_gtk.py 2007-06-20 jdh2358 [r3402] cleaned up lineprops gtk
 load_converter.py 2007-04-17 jdh2358 [r3239] added autofmt for date plots
 loadrec.py 2007-12-05 jdh2358 [r4629] minor rec2excel enhancements
 log_bar.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 log_demo.py 2005-04-15 jdh2358 [r1180] applied arrow key, masked array and qt patches
 log_test.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 logo.py 2008-05-28 jdh2358 [r5292] added keywords to configure sliders for sf patc...
 major_minor_demo1.py 2007-06-07 nnemec [r3371] remove trailing spaces
 major_minor_demo2.py 2007-06-07 nnemec [r3371] remove trailing spaces
 masked_demo.py 2007-08-26 efiring [r3737] Added step plot based on patch by Manuel Metz
 mathtext_demo.py 2008-05-17 jdh2358 [r5171] made backend agg open png in binary mode
 mathtext_examples.py 2008-05-17 jdh2358 [r5171] made backend agg open png in binary mode
 mathtext_wx.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 matplotlib_icon.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 matshow.py 2005-02-12 fer_perez [r960] simple matshow example
 movie_demo.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 mpl_with_glade.glade 2005-07-27 jdh2358 [r1567] fixed a span bug
 mpl_with_glade.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 mri_demo.py 2007-12-13 mdboom [r4718] Updated to numpy names.
 mri_with_eeg.py 2007-11-09 efiring [r4176] Pylab uses numpy instead of oldnumeric
 multi_image.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 multiline.py 2007-06-07 nnemec [r3371] remove trailing spaces
 multiple_figs_demo.py 2005-05-27 jdh2358 [r1372] added daisha patch
 newscalarformatter_demo.py 2006-04-18 dsdale [r2298] fixed a bug in scalarformatter's get_offset
 pcolor_demo.py 2007-07-30 efiring [r3628] changed pcolor default to shading='flat'; relat...
 pcolor_demo2.py 2007-06-07 nnemec [r3371] remove trailing spaces
 pcolor_log.py 2007-07-30 efiring [r3628] changed pcolor default to shading='flat'; relat...
 pcolor_nonuniform.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 pcolor_small.py 2007-07-30 efiring [r3628] changed pcolor default to shading='flat'; relat...
 pick_event_demo.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 pick_event_demo2.py 2007-06-11 jdh2358 [r3385] added index date formatter example
 pie_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 plotfile_demo.py 2007-06-08 jdh2358 [r3374] added file plotting function
 polar_bar.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 polar_demo.py 2008-05-29 jdh2358 [r5304] added clippath support for ps
 polar_legend.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 polar_scatter.py 2007-06-07 nnemec [r3371] remove trailing spaces
 poly_editor.py 2008-01-18 mdboom [r4879] Fix poly_editor.py
 poormans_contour.py 2006-05-14 efiring [r2390] New version of colorbar, plus small bugfixes.
 print_stdout.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 printing_in_wx.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 psd_demo.py 2007-08-12 efiring [r3701] numpification of mlab
 pstest.py 2005-06-01 jdh2358 [r1392] sync
 pylab_with_gtk.py 2007-06-07 nnemec [r3371] remove trailing spaces
 pythonic_matplotlib.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 quadmesh_demo.py 2007-11-05 efiring [r4114] Make safezip accept more args; quadmesh_demo cl...
 quiver_demo.py 2007-08-30 mdboom [r3757] Remove the "markup" kwarg and rcParam everywher...
 rc_traits.py 2007-11-08 dsdale [r4156] update enthought package to version 2.6b1, stri...
 rec_groupby_demo.py 2008-04-03 jdh2358 [r5028] some small fixes to excel tools
 scatter_custom_symbol.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 scatter_demo.py 2007-08-12 efiring [r3701] numpification of mlab
 scatter_demo2.py 2007-08-30 mdboom [r3757] Remove the "markup" kwarg and rcParam everywher...
 scatter_masked.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 scatter_profile.py 2007-06-07 nnemec [r3371] remove trailing spaces
 scatter_star_poly.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 set_and_get.py 2007-06-07 nnemec [r3371] remove trailing spaces
 shared_axis_across_figures.py 2007-06-21 jdh2358 [r3405] added shared axis demo
 shared_axis_demo.py 2005-06-01 jdh2358 [r1392] sync
 simple3d.py 2007-09-05 pkienzle [r3793] Convert to numpy
 simple3d_oo.py 2007-07-20 efiring [r3597] A few more changes in examples
 simple_plot.py 2007-05-24 jdh2358 [r3294] fixed a filling rule bug in agg
 specgram_demo.py 2007-10-28 jdh2358 [r4039] added time series to specgram
 spy_demos.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 stem_plot.py 2007-06-07 nnemec [r3371] remove trailing spaces
 step_demo.py 2007-11-05 efiring [r4113] make step_demo use npyma
 stix_fonts_demo.py 2007-11-12 mdboom [r4231] Provide way to access STIX "letterlike" symbols...
 stock_demo.py 2005-09-07 stevech [r1718] 'SC'
 strip_chart_demo.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 subplot_demo.py 2005-05-27 jdh2358 [r1372] added daisha patch
 subplot_toolbar.py 2005-06-16 stevech [r1477] SC
 subplots_adjust.py 2005-06-14 jdh2358 [r1442] added subplot params and toolbar
 system_monitor.py 2007-06-07 nnemec [r3371] remove trailing spaces
 table_demo.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 tex_demo.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 tex_unicode_demo.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 text_handles.py 2005-05-27 jdh2358 [r1372] added daisha patch
 text_rotation.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 text_themes.py 2007-11-30 mdboom [r4532] Fix mathtext in example.
 to_numeric.py 2007-06-07 nnemec [r3371] remove trailing spaces
 toggle_images.py 2007-06-07 nnemec [r3371] remove trailing spaces
 transoffset.py 2006-08-01 efiring [r2642] Cleaner version of examples/transoffset.py
 two_scales.py 2005-08-30 jdh2358 [r1684] removed lingering cm detritus
 unicode_demo.py 2007-08-30 mdboom [r3757] Remove the "markup" kwarg and rcParam everywher...
 vertical_ticklabels.py 2005-05-27 jdh2358 [r1372] added daisha patch
 vline_demo.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 webapp_demo.py 2007-09-10 efiring [r3820] Numpification and cleanup of examples
 wxcursor_demo.py 2007-10-29 mdboom [r4057] Improve the code coverage of backend_driver.py
 xcorr_demo.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 zoom_window.py 2007-11-09 efiring [r4191] Remove numerix as nx from pylab
 zorder_demo.py 2006-06-03 jdh2358 [r2427] adjusted the zorder of legend

Read Me

You have a few different options available to you for embedding
matplotlib  in a wxPython application

1. Embed one of the wxPython backend widgets (which subclass wx.Panel)
   directly and draw plots on it using matplotlib's object-oriented
   API.  This approach is demonstrated by some of the examples
   embedding_in_wx*.py

2. Embed the PlotPanel from Matt Newville's `MPlot' package and draw
   plots on it using its plot() and oplot() methods.

	http://cars9.uchicago.edu/~newville/Python/MPlot/

3. Embed the PlotPanel from Ken McIvor wxmpl module and draw plots on
   it using the matplotlib's object-oriented API.

	http://agni.phys.iit.edu/~kmcivor/wxmpl/

Each of these approachs has different benefits and drawbacks, so I
encourage you to evaluate each of them and select the one that best
meets your needs.