[SciPy-user] plotting from within a wxPython app

Ryan Krauss ryanlists at gmail.com
Tue Oct 25 11:58:33 CDT 2005

There is an embedded example that comes with matplotlib that works
quite nicely.  I adapted it without much trouble to my purposes and
was very happy with the result.


On 10/25/05, Grant Edwards <grante at visi.com> wrote:
> On 2005-10-25, mike cantor <mcantor at stanford.edu> wrote:
> >       I am writing a GUI using wxPython to manipulate and run an ODE-based
> > model.  What is the best way to embed a plot in the application?
> This is just one guy's opinion, but I think the best way to
> embed a plot into an application is not to.  After working on
> several wxPython based programs that do plotting, I've decied
> that I really prefer using Gnuplot to generate a separate plot
> window.  I have the controls/data in the wxPython application's
> window and the plot in a second window.  I find this to be much
> more flexible, and you gain all of the interactivity of Gnpulot
> windows.  For example, using the mouse the user can rotate/zoom
> surface plots with the mouse, the user can find the cordinates
> of points on an X-Y plot.
> The user can hide the plot window while working on the data or
> settings.  Once the plot does what the user wants, they can
> show/maximize the plot window and not have any screen space
> wasted by widgets.
> --
> Grant Edwards                   grante             Yow!  They
>                                   at               collapsed... like nuns
>                                visi.com            in the street... they had
>                                                    no teenappeal!
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list