[wxPython-users] Draw method in PlotCanvas class for a number of points (>80,000) takes too much time

Christopher Barker Chris.Barker at noaa.gov
Mon Dec 11 11:21:35 PST 2006


jmf wrote:
> The Draw method in the PlotCanvas class for a data set of more than 
> 80,000 points takes
> more than 3 minutes to plot the data on the frame. 

> On my futuristic PIII 600MHz win2k box, it displays a function y=f(x) of 
> 100000 points in something like 5 seconds. (no typo here).

and in FloatCanvas, drawing lines with 100,000 points takes less than a 
second, so something is odd here.

Are you using markers? that could slow it down a lot, and really 
wouldn't make sense for that many points anyway.

-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