Menu

Tree [r3600] / branches / mathtext_mgd / examples /
 History

HTTPS access


File Date Author Commit
 data 2006-07-11 astraw [r2557] fix svn version of lena.jpg
 units 2007-06-07 nnemec [r3371] remove trailing spaces
 widgets 2007-06-14 jdh2358 [r3393] added another example
 .cvsignore 2005-03-08 stevech [r1049] SC 2005/03/08
 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 2005-03-25 stevech [r1093] SC 2005/03/25
 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-06-07 nnemec [r3371] remove trailing spaces
 alignment_test.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 anim.py 2005-08-31 stevech [r1686] 'SC'
 anim_tk.py 2007-06-07 nnemec [r3371] remove trailing spaces
 animation_blit.py 2006-07-28 cmoad [r2627] made tha animation example more uniform. added...
 animation_blit_fltk.py 2007-06-07 nnemec [r3371] remove trailing spaces
 animation_blit_qt.py 2007-06-07 nnemec [r3371] remove trailing spaces
 animation_blit_qt4.py 2007-06-07 nnemec [r3371] remove trailing spaces
 animation_blit_tk.py 2007-06-07 nnemec [r3371] remove trailing spaces
 animation_blit_wx.py 2007-06-07 nnemec [r3371] remove trailing spaces
 annotation_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 anscombe.py 2007-06-07 nnemec [r3371] remove trailing spaces
 arctest.py 2005-05-27 jdh2358 [r1372] added daisha patch
 arrow_demo.py 2006-12-03 efiring [r2904] Changed class names in colors.py to match conve...
 axes_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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-07-06 efiring [r3467] Easy specification of default output format for...
 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-02-14 jdh2358 [r3021] fixed broken xaxis_date and yaxis_date
 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 2006-11-10 jdh2358 [r2867] fixed subplots_adjust docstring bug
 clippath_test.py 2007-06-07 nnemec [r3371] remove trailing spaces
 clippedline.py 2007-06-07 nnemec [r3371] remove trailing spaces
 collections_demo.py 2006-08-06 efiring [r2658] Add nan for Numeric and numarray; fix name clas...
 color_by_yvalue.py 2005-05-27 jdh2358 [r1372] added daisha patch
 color_demo.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 colours.py 2007-06-07 nnemec [r3371] remove trailing spaces
 contour_demo.py 2007-06-16 efiring [r3394] Fix negative contour linestyle specification in...
 contour_image.py 2005-11-27 efiring [r1882] Multiple changes in support of colormaps from a...
 contourf_demo.py 2006-12-08 efiring [r2912] Improve colorbar example
 coords_demo.py 2005-03-29 jdh2358 [r1101] added curosor props to ax
 coords_report.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 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-06-07 nnemec [r3371] remove trailing spaces
 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-06-07 nnemec [r3371] remove trailing spaces
 dash_control.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 dashpointlabel.py 2005-05-31 jdh2358 [r1385] added Daishi revised dash text patch
 dashtick.py 2005-06-01 jdh2358 [r1392] sync
 data_browser.py 2007-06-20 jdh2358 [r3403] readded data browser
 data_helper.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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-06-07 nnemec [r3371] remove trailing spaces
 date_demo_rrule.py 2005-11-02 jdh2358 [r1852] added afm supoprt for mathtext
 date_index_formatter.py 2007-07-11 efiring [r3496] Numpification and partial cleanup of dates.py
 dynamic_collection.py 2006-05-23 efiring [r2411] Make collections accept flexible mpl color spec...
 dynamic_demo.py 2007-01-14 stevech [r2983] SC
 dynamic_demo_wx.py 2007-06-07 nnemec [r3371] remove trailing spaces
 dynamic_image_gtkagg.py 2007-01-14 stevech [r2984] SC
 dynamic_image_wxagg.py 2007-06-07 nnemec [r3371] remove trailing spaces
 dynamic_image_wxagg2.py 2007-06-07 nnemec [r3371] remove trailing spaces
 ellipse_demo.py 2007-05-27 jdh2358 [r3311] users guide and htdocs updates
 ellipse_rotated.py 2006-09-05 jdh2358 [r2754] added some ellipse and inside poly examples and...
 embedding_in_gtk.py 2005-09-23 stevech [r1785] 'SC'
 embedding_in_gtk2.py 2006-02-20 stevech [r2064] 'SC'
 embedding_in_gtk3.py 2005-09-23 stevech [r1785] 'SC'
 embedding_in_qt.py 2007-06-07 nnemec [r3371] remove trailing spaces
 embedding_in_qt4.py 2007-06-07 nnemec [r3371] remove trailing spaces
 embedding_in_tk.py 2004-12-29 jdh2358 [r826] fixed toogle images for extent
 embedding_in_tk2.py 2005-03-11 jdh2358 [r1070] upgraded cxx
 embedding_in_wx.py 2007-06-07 nnemec [r3371] remove trailing spaces
 embedding_in_wx2.py 2007-06-07 nnemec [r3371] remove trailing spaces
 embedding_in_wx3.py 2007-06-07 nnemec [r3371] remove trailing spaces
 embedding_in_wx4.py 2007-06-07 nnemec [r3371] remove trailing spaces
 errorbar_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 figimage_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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-06-07 nnemec [r3371] remove trailing spaces
 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-05-22 jswhit [r3289] fix typos that prevented script from working
 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 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 fonts_demo_kw.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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
 gdtest.py 2005-06-01 jdh2358 [r1392] sync
 glyph_to_path.py 2007-07-06 edin1 [r3475] Fixed (some?) paths to fonts (because of the ch...
 gtk_spreadsheet.py 2007-06-07 nnemec [r3371] remove trailing spaces
 hatch_demo.py 2006-03-09 jdh2358 [r2136] added hatch demo
 histogram_demo.py 2005-05-27 jdh2358 [r1372] added daisha patch
 histogram_demo_canvasagg.py 2005-06-15 jdh2358 [r1471] syncing for 82
 image_demo.py 2007-06-07 nnemec [r3368] expand tabs and remove trailing spaces
 image_demo2.py 2006-03-20 jdh2358 [r2173] made new API default in PS
 image_demo3.py 2006-07-11 efiring [r2555] Remove invalid aspect kwarg from call to image().
 image_demo_na.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 image_interp.py 2007-06-07 nnemec [r3371] remove trailing spaces
 image_masked.py 2006-12-14 efiring [r2923] Speedups in colors.py, bugfix in axes.py 2-D pl...
 image_origin.py 2006-12-19 dsdale [r2936] update references to .matplotlibrc, now matplot...
 image_slices_viewer.py 2007-06-27 jdh2358 [r3417] added scroll event support
 integral_demo.py 2007-07-02 efiring [r3444] Fix grayscale specification in demo
 interactive.py 2007-06-07 nnemec [r3371] remove trailing spaces
 interactive2.py 2007-06-07 nnemec [r3371] remove trailing spaces
 interp_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 invert_axes.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 keypress_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 lasso_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 layer_images.py 2007-06-07 nnemec [r3371] remove trailing spaces
 legend_auto.py 2007-07-13 nnemec [r3506] added configurable option legend.loc
 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-06-07 jdh2358 [r3372] csv to numpy record arrays and native datetime ...
 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 2005-05-27 jdh2358 [r1372] added daisha patch
 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-04-18 efiring [r3242] Add masked_demo.py to backend_driver.py.
 mathtext2_demo.py 2007-03-04 edin1 [r3042] Small fixes to mathtext2.py in order to keep up...
 mathtext_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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-06-07 nnemec [r3371] remove trailing spaces
 mri_demo.py 2005-04-11 jdh2358 [r1158] fixed wxapp init bug
 mri_with_eeg.py 2007-06-07 nnemec [r3371] remove trailing spaces
 multi_image.py 2006-12-03 efiring [r2904] Changed class names in colors.py to match conve...
 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-06-07 nnemec [r3371] remove trailing spaces
 pcolor_demo2.py 2007-06-07 nnemec [r3371] remove trailing spaces
 pcolor_log.py 2006-12-03 efiring [r2906] New colors.LogNorm; support in colorbar; exampl...
 pcolor_nonuniform.py 2005-12-03 jdh2358 [r1898] nonuniform images, scipy and setup
 pcolor_small.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 pick_event_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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-04-23 jdh2358 [r3255] added polar bar char demo
 polar_demo.py 2007-07-05 efiring [r3464] Make cairo testing easier (partial)
 polar_legend.py 2007-04-23 jdh2358 [r3254] added polar bar char demo
 polar_scatter.py 2007-06-07 nnemec [r3371] remove trailing spaces
 poly_editor.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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-06-07 nnemec [r3371] remove trailing spaces
 psd_demo.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 pstest.py 2005-06-01 jdh2358 [r1392] sync
 pylab_with_gtk.py 2007-06-07 nnemec [r3371] remove trailing spaces
 pythonic_matplotlib.py 2007-06-07 nnemec [r3371] remove trailing spaces
 quadmesh_demo.py 2006-05-08 efiring [r2386] Small changes in support of work on new colorba...
 quiver_demo.py 2006-06-12 efiring [r2466] New QuiverKey class and quiverkey function; dep...
 rc_traits.py 2007-05-20 jdh2358 [r3281] added rc traits examples
 scatter_custom_symbol.py 2007-06-07 nnemec [r3371] remove trailing spaces
 scatter_demo.py 2005-08-01 jdh2358 [r1578] svg backend outputs utf-8
 scatter_demo2.py 2005-08-09 jdh2358 [r1597] tinkering with repr
 scatter_masked.py 2006-01-25 efiring [r1992] Added support for masked array input to scatter.
 scatter_profile.py 2007-06-07 nnemec [r3371] remove trailing spaces
 scatter_star_poly.py 2006-10-12 jdh2358 [r2814] committed star polygon patch
 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-06-07 nnemec [r3371] remove trailing spaces
 simple3d_oo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 simple_plot.py 2007-05-24 jdh2358 [r3294] fixed a filling rule bug in agg
 specgram_demo.py 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 spy_demos.py 2006-12-10 efiring [r2915] Replace old spy and spy2 with new spy (briefly ...
 stem_plot.py 2007-06-07 nnemec [r3371] remove trailing spaces
 stock_demo.py 2005-09-07 stevech [r1718] 'SC'
 strip_chart_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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-06-07 nnemec [r3371] remove trailing spaces
 tex_unicode_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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 2004-12-09 jdh2358 [r743] migrated matlab to pylab and more
 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-06-07 nnemec [r3371] remove trailing spaces
 vertical_ticklabels.py 2005-05-27 jdh2358 [r1372] added daisha patch
 vline_demo.py 2007-03-21 jdh2358 [r3115] fixed errorbar for the new vlines, hlines signa...
 webapp_demo.py 2006-12-19 dsdale [r2936] update references to .matplotlibrc, now matplot...
 wxcursor_demo.py 2007-06-07 nnemec [r3371] remove trailing spaces
 xcorr_demo.py 2007-03-26 jdh2358 [r3127] more units refactoring
 zoom_window.py 2007-06-07 nnemec [r3371] remove trailing spaces
 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.