Re: [matplotlib-devel] performance (speed) of logarithmic plots

2010-03-19 Thread Gökhan Sever
On Thu, Mar 18, 2010 at 6:21 PM, Andrew Hawryluk hawr...@novachem.comwrote: I've observed a significant difference in the time required by different plotting functions. With a plot of 5000 random data points (all positive, non-zero), plt.semilogx takes 3.5 times as long as plt.plot. (Data for

Re: [matplotlib-devel] performance (speed) of logarithmic plots

2010-03-19 Thread Michael Droettboom
This is indeed a very interesting result and I am able to reproduce similar ratios for total running time. However, I think the semilogx result is somewhat of a red herring. If you change the order of the tests in your script, you'll notice that the first *log* plot always takes the longest

[matplotlib-devel] performance (speed) of logarithmic plots

2010-03-18 Thread Andrew Hawryluk
I've observed a significant difference in the time required by different plotting functions. With a plot of 5000 random data points (all positive, non-zero), plt.semilogx takes 3.5 times as long as plt.plot. (Data for the case of saving to PDF, ratio changes to about 3.1 for PNG on my machine.) I