Menu

Tree [r7892] / branches / mathtex / examples / user_interfaces /
 History

HTTPS access


File Date Author Commit
 README.txt 2008-05-16 jdh2358 [r5158] added a few example specific readmes
 README.wx 2008-05-16 jdh2358 [r5151] reorganized examples
 embedding_in_gtk.py 2009-04-29 jdh2358 [r7070] add masked array support to fill_between
 embedding_in_gtk2.py 2009-04-29 jdh2358 [r7070] add masked array support to fill_between
 embedding_in_gtk3.py 2008-05-16 jdh2358 [r5151] reorganized examples
 embedding_in_qt.py 2008-05-16 jdh2358 [r5151] reorganized examples
 embedding_in_qt4.py 2008-05-16 jdh2358 [r5151] reorganized examples
 embedding_in_tk.py 2008-05-16 jdh2358 [r5151] reorganized examples
 embedding_in_tk2.py 2008-05-16 jdh2358 [r5151] reorganized examples
 embedding_in_wx2.py 2009-03-11 efiring [r6973] Merged revisions 6972 via svnmerge from
 embedding_in_wx3.py 2009-08-12 evilguru [r7479] Backport recent changes in trunk to the mathtex...
 embedding_in_wx4.py 2009-03-11 efiring [r6973] Merged revisions 6972 via svnmerge from
 embedding_in_wx5.py 2009-03-11 efiring [r6973] Merged revisions 6972 via svnmerge from
 fourier_demo_wx.py 2009-01-16 jdh2358 [r6786] added Tom Krauss' wx fourier demo
 gtk_spreadsheet.py 2008-05-16 jdh2358 [r5151] reorganized examples
 histogram_demo_canvasagg.py 2008-05-16 jdh2358 [r5151] reorganized examples
 interactive.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 interactive2.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 lineprops_dialog_gtk.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 mpl_with_glade.glade 2008-05-16 jdh2358 [r5151] reorganized examples
 mpl_with_glade.py 2008-05-16 jdh2358 [r5151] reorganized examples
 printing_in_wx.py 2008-05-16 jdh2358 [r5151] reorganized examples
 pylab_with_gtk.py 2008-05-18 jdh2358 [r5187] moved a few more examples to their proper home
 rec_edit_gtk_custom.py 2009-08-12 evilguru [r7479] Backport recent changes in trunk to the mathtex...
 rec_edit_gtk_simple.py 2009-08-12 evilguru [r7479] Backport recent changes in trunk to the mathtex...
 wxcursor_demo.py 2008-05-16 jdh2358 [r5151] reorganized examples

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.