Hello I attached the matplotlibrc file. also a brief script. Do I need
to turn off interactive mode even though I'm using WXAgg as a backend?
Message: 1
matplotlibrc.py (8.7 KB)
sample.py (4.89 KB)
···
From: "Jeff Peery" <jeffpeery@...420...>
To: <matplotlib-users@lists.sourceforge.net>
Date: Thu, 30 Jun 2005 08:15:54 -0700
Organization: SeaMetrics
Subject: [Matplotlib-users] slow plotting speed?
Hello,
I wrote a small WXAgg program with wxpython. I'm plotting simple
datasets, right now I'm plotting an array of approx. 450 points. The
graphing is very slow. What can I do to speed this up? I have python
2.4, wxpython 2.4, and this is what I'm using for matplotlib
'matplotlib-0.80.win32-py2.4.exe'.
Thanks.
Jeff
--__--__--
Message: 2
From: Darren Dale <dd55@...163...>
Reply-To: dd55@...163...
Organization: Cornell University
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] slow plotting speed?
Date: Thu, 30 Jun 2005 11:37:26 -0400
On Thursday 30 June 2005 11:15 am, Jeff Peery wrote:
Hello,
I wrote a small WXAgg program with wxpython. I'm plotting simple
datasets, right now I'm plotting an array of approx. 450 points. The
graphing is very slow. What can I do to speed this up? I have python
2.4, wxpython 2.4, and this is what I'm using for matplotlib
'matplotlib-0.80.win32-py2.4.exe'.
Have you checked the list archives? There has been some discussion about
speed
traps that you can take steps to avoid. For example, are you running a
script
with interactive mode on? That can cause a big performance hit.
Also, if you provide a brief example script, along with any relevant
changes
you have made to matplotlibrc, and some detail about how long it takes
to
plot (maybe some profiling?), we might be able to provide some more
useful
suggestions.
--
Darren
--__--__--
Message: 3
To: dd55@...163...
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] slow plotting speed?
From: John Hunter <jdhunter@...4...>
Date: Thu, 30 Jun 2005 11:55:54 -0500
"Darren" =3D=3D Darren Dale <dd55@...163...> writes:
> Also, if you provide a brief example script, along with
> any relevant changes you have made to matplotlibrc, and
> some detail about how long it takes to plot (maybe some
> profiling?), we might be able to provide some more useful
> suggestions.
A script is by far the most useful thing you can provide. =20
Note that there was an optimization for line marker drawing on win32
introduced in matplotlib-0.81 From the release notes:
Fast markers on win32 The marker cache optimization is finally
available for win32, after an agg bug was found and fixed (thanks
Maxim!). Line marker plots should be considerably faster now on
win32. The original optimization announcement is ay
http://matplotlib.sourceforge.net/whats_new.html#0.72-line_marker_opti=
mizations_in_agg
See also http://matplotlib.sourceforge.net/faq.html#SLOW
JDH