From: Ryan K. <rya...@gm...> - 2007-11-28 14:37:02
|
I may be jumping into this conversation way too late, but I really like wxmpl. The one bell and whistle that I love is the click-and-drag box zoom available by default. Attached is my hacked together simple example of putting a wxmpl.PlotPanel on a wx.notebook. Ryan On Nov 27, 2007 11:06 AM, C M <cmp...@gm...> wrote: > > > > On Nov 27, 2007 11:27 AM, Rich Shepard <rsh...@ap...> wrote: > > > > On Mon, 26 Nov 2007, C M wrote: > > > > > > > Basically what I did (sorry if this is too basic, but I'm pretty new to > > > this and this may jog others to correct deficiencies in this simple > > > approach) was to: > > > > This is all straightforward and clear. The one statement I've not yet > > understood is this: > > > > > > > self.graph = matplotFrame3.PlotPanel(self.panel1 ,xpoints, > ypoints) > > > > I assume that matplotFrame3 is the name of the module in which you've > > written PlotPanel(). Is this assumption correct? > > > > Exactly. That is the module which I mention importing in step 4. > > > > > I'm modifying your approach to suit our application but it seems to be > the > > most parsimonious and elegant solution for simple display of plots in a > > wxPython panel. > > > > Thanks, > > > > > > > > > Glad it will help your application. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |