[Matplotlib-users] matplotlib.pyplot.pcolor and matplotlib.pyplot.savefig unexpectedly slow

2009-04-13 Thread Jim Vickroy
Hello all, I am a matplotlib novice so I expect I am doing something inappropriate. From the attached script (matplotlib-slow.py), it will be seen that I am creating a 512x512 (numpy) array and using matplotlib to plot it. Below is the script output on my Microsoft Windows XP (service pack

Re: [Matplotlib-users] matplotlib.pyplot.pcolor and matplotlib.pyplot.savefig unexpectedly slow

2009-04-13 Thread Jae-Joon Lee
Is there any particular reason that you have to use pcolor? My understanding is that the imshow is the fastest. Also, pcolormesh is much faster than pcolor if you use agg backend. Your script runs in a second on my linux box if I replace pcolor with pcolormesh. -JJ On Mon, Apr 13, 2009 at

Re: [Matplotlib-users] matplotlib.pyplot.pcolor and matplotlib.pyplot.savefig unexpectedly slow

2009-04-13 Thread Jim Vickroy
Jae-Joon Lee wrote: Is there any particular reason that you have to use pcolor? None whatsoever; it is simply what I first encountered in an example. My understanding is that the imshow is the fastest. Also, pcolormesh is much faster than pcolor if you use agg backend. Your script runs in