[wxPython-users] Re: dilemma, plot or scope or ...

Christopher Barker Chris.Barker at noaa.gov
Tue Oct 16 09:49:14 PDT 2007


Christian K. wrote:
> wx.plot does use numpy or numeric if the former is not available. 

Then I'd expect the performance to be pretty similar.

I did contributed to wx.plot a good while back, adding double buffering, 
so I think it does pretty much the same thing as FloatCanvas when it 
draws -- it's all about the same really -- you need to transform your 
points to pixel coords, and draw to a bitmap with a DC, then blit the 
bitmap to  the screen -- not much to it.

If you are updating a lot, and performance is an issue, you could strip 
out the double buffering, but I'm not sure you'd notice the difference.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list