Re: [Matplotlib-users] Fwd: speed of clearing and creating a new array

2008-04-08 Thread Eric Firing
Alan G Isaac wrote: > On Tuesday 08 April 2008 10:46:32 am Bryan Fodness wrote: >> I am starting with a zero array, populate it according to >> some condition, save the graph > > I am going to need something along this line pretty soon. > What is the difference between matshow and pcolormesh for

Re: [Matplotlib-users] Fwd: speed of clearing and creating a new array

2008-04-08 Thread Pierre GM
On Tuesday 08 April 2008 10:46:32 Bryan Fodness wrote: > I am starting with a zero array, populate it according to some > condition, save the graph, and then reset the array to zero. Can > someone tell me if there is a better (faster) way to do this? My 2c: * Use inplace addition to save some s

Re: [Matplotlib-users] Fwd: speed of clearing and creating a new array

2008-04-08 Thread Darren Dale
On Tuesday 08 April 2008 10:46:32 am Bryan Fodness wrote: > I am starting with a zero array, populate it according to some > condition, save the graph, and then reset the array to zero. Can > someone tell me if there is a better (faster) way to do this? You might ask at the numpy mailing list, bu

[Matplotlib-users] Fwd: speed of clearing and creating a new array

2008-04-08 Thread Bryan Fodness
I am starting with a zero array, populate it according to some condition, save the graph, and then reset the array to zero. Can someone tell me if there is a better (faster) way to do this? Or am I just doing that much, and that is how long it will take? I have a couple hundred graphs that I am