Re: [Matplotlib-users] memory explosion !

2011-03-18 Thread Eric Firing
On 03/18/2011 11:15 AM, Yves Revaz wrote: > Dear matplotlib users, > > The following very simple script generate an explosion of ram memory : > > from numpy import * > import pylab as pl > > while 1: > data = random.random((512,512)) > pl.imshow(data) Try adding "pl.clf()" or "pl.cla(). W

[Matplotlib-users] memory explosion !

2011-03-18 Thread Yves Revaz
Dear matplotlib users, The following very simple script generate an explosion of ram memory : from numpy import * import pylab as pl while 1: data = random.random((512,512)) pl.imshow(data) How is it possible to loop over imshow, without having this problem ? Thanks in advance, yves

Re: [Matplotlib-users] png to slideshow (gif)

2011-03-18 Thread Eric Firing
On 03/18/2011 03:56 AM, Michael Droettboom wrote: > There is an example showing how to create an MPEG-4 movie here: > > http://matplotlib.sourceforge.net/examples/animation/movie_demo.html > > Creating an animated gif would just be a matter of using the correct > third-party tool that can combine

Re: [Matplotlib-users] png to slideshow (gif)

2011-03-18 Thread Michael Droettboom
There is an example showing how to create an MPEG-4 movie here: http://matplotlib.sourceforge.net/examples/animation/movie_demo.html Creating an animated gif would just be a matter of using the correct third-party tool that can combine a set of image frames. Mike __

[Matplotlib-users] Heat maps

2011-03-18 Thread Yuri D'Elia
Hi everyone. I was trying to produce an irregular heat map broken down by day/weeks, as excellently shown here: http://revolution-computing.typepad.com/.a/6a010534b1db25970b0120a63e9936970b-500wi (source: http://stackoverflow.com/questions/2076370/most-underused-data-visualization) How would y

[Matplotlib-users] png to slideshow (gif)

2011-03-18 Thread Rita
If I have 30 PNGs and i would like to make a slideshow or an animated gif what is the best way to do this? Can matplotlib do this? -- --- Get your facts first, then you can distort them as you please.-- -- Colocation vs

[Matplotlib-users] some explanatory text with legend

2011-03-18 Thread Neal Becker
My legend is going to have a series of entries that look like: u=2,p=3 u=1,p=4 ... I want to add some (short) text that explains what u and p are. I'm thinking to get the coordinates of the legend box so I can then annotate? How would I get the coordinates of the legend box? Or is there some