[wxPython-users] Re: Recommend a plotting library?

Christopher Barker Chris.Barker at noaa.gov
Wed Apr 11 13:57:28 PDT 2007


Grant Edwards wrote:
> Oops, I was thinking badly. It's 150 vertexes, not line
> segments. Each vertex is an endpoint for 3-5 line segments, so
> axes.plot() is being called with about 700 pairs of line
> segment endpoints.

That still shouldn't be that slow, if it's one "plot()" call.  Wait -- 
is it one plot call with ONE set of x and y vectors? Or is plotting a 
bunch of separate lines? if so -- then LineCollection is your friend. Or 
FloatCanvas -- I really did make for just this sort of thing, and since 
it's not playing the multiple back-ends game, it's pretty snappy.

-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