On Mon, Dec 8, 2008 at 5:48 AM, Joost Witteveen <[EMAIL PROTECTED]> wrote: > >
<snip> > > As I saw matplotlib/pylab being mentioned, in combination with slowdowns, I > thought I'd mention that plotting in pylab itself goes progressively slower. > On a system here, running the following: > > import pylab > import time > n=300 > m=100 > for i in range(n): > start=time.time() > pylab.plot(range(m), [pylab.sin(pylab.pi*j/(m+0.0)) for j in range(m)]) > pylab.savefig("name%04i.eps"%i) > print "plotting took %f sec"%(time.time()-start) > > > Will print "plotting took 0.051967 sec" for the second run (first goes > slower), but then the time to plot the next plots goes slowly up, to about > 0.55 sec after 300 plots. Thanks. That is more than a 10-fold increase! Michael: could this contribute significantly to the slowness of the plot Fourier series you mentioned in the other thread? > > This is using Debian etch, python-matplotilb 0.87.7-0.3, python 2.4. > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---