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

Hi Folks,
I never found why the draw method in the PlotCanvas class took too long to plot more than 80k points, so I experimented with Matplotlib. At first, I was using the backend Wx, the plotting was damn slow. After using the WxAgg backend in Matplotlib, the plotting turned out to be incredibly fast. I used Numpy to collect the data in the numpy array and it’s indexing function to sort data.
Thank you all for your suggestions.
-Maser

···

Christopher Barker Chris.Barker@noaa.gov wrote:

Chris Mellon wrote:

People don’t often expect it, but Python+NumPy is general case faster
than matlab.

not for plotting with matplotlib, however.

oh well,

-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@noaa.gov


To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org


The fish are biting.

Get more visitors on your site using Yahoo! Search Marketing.