Re: [Matplotlib-users] cumulative distribution function

2007-03-20 Thread Werner Hoch
Hi Simson, On Wednesday 21 March 2007 02:59, Simson Garfinkel wrote: > Thanks for the information. Unfortunately, this CDF doesn't look like > the CDF that we see in other published papers. I'm not sure what they > are done with... But they have a thin line that shows the integral > of all measur

Re: [Matplotlib-users] cumulative distribution function

2007-03-20 Thread John Hunter
On 3/20/07, Simson Garfinkel <[EMAIL PROTECTED]> wrote: > Thanks for the information. Unfortunately, this CDF doesn't look like > the CDF that we see in other published papers. I'm not sure what they > are done with... But they have a thin line that shows the integral > of all measurements, rather

Re: [Matplotlib-users] cumulative distribution function

2007-03-20 Thread Simson Garfinkel
Thanks for the information. Unfortunately, this CDF doesn't look like the CDF that we see in other published papers. I'm not sure what they are done with... But they have a thin line that shows the integral of all measurements, rather than a bar graph. The problem with a bar graph is that

Re: [Matplotlib-users] Question about pylab.figure

2007-03-20 Thread Eric Firing
Pellegrini Eric wrote: Hi everybody, when repeating the following sequence: pylab.figure() pylab.close() the memory used increases like if something remained. Would you have any idea of what is going on ? How to solve this kind of memory leak ? I have confirmed this with svn on linux (d

[Matplotlib-users] Question about pylab.figure

2007-03-20 Thread Pellegrini Eric
Hi everybody, when repeating the following sequence: pylab.figure() pylab.close() the memory used increases like if something remained. Would you have any idea of what is going on ? How to solve this kind of memory leak ? thank you very much Eruc

[Matplotlib-users] Memory leak with FigureCanvasTk

2007-03-20 Thread Pellegrini Eric
Hi, I have a problem of memory leak using the following code: from Tkinter import * from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg import pylab def display(): mat = pylab.zer

Re: [Matplotlib-users] Iterate and save multiple plots

2007-03-20 Thread Steve Schmerler
Ana Paula Leite wrote: > Dear all, > > I have a list with about 300 elements like the following: > listNames = ['name1', 'name2', 'name3', ...] > > I want to iterate through this list, creating several figures where each > one will include two subplots. > The problem is that I want to label each

Re: [Matplotlib-users] Iterate and save multiple plots

2007-03-20 Thread Ana Paula Leite
It's just as simple as: savefig('name1'+'_'+'name2') - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through

[Matplotlib-users] Iterate and save multiple plots

2007-03-20 Thread Ana Paula Leite
Dear all, I have a list with about 300 elements like the following: listNames = ['name1', 'name2', 'name3', ...] I want to iterate through this list, creating several figures where each one will include two subplots. The problem is that I want to label each figure like in the following example:

Re: [Matplotlib-users] subplots with the OO interface (ax.rowNum, ax.colNum)

2007-03-20 Thread Ryan Krauss
Thanks John. That will work. Ryan On 3/20/07, John Hunter <[EMAIL PROTECTED]> wrote: > On 3/20/07, Ryan Krauss <[EMAIL PROTECTED]> wrote: > > I have a figure with 2 subplots (2 rows, 1 column) created using the > > OO interface like this: > > > > ax1=fig.add_subplot(2,1,1) > > ax2=fig.add_subplo

Re: [Matplotlib-users] subplots with the OO interface (ax.rowNum, ax.colNum)

2007-03-20 Thread John Hunter
On 3/20/07, Ryan Krauss <[EMAIL PROTECTED]> wrote: > I have a figure with 2 subplots (2 rows, 1 column) created using the > OO interface like this: > > ax1=fig.add_subplot(2,1,1) > ax2=fig.add_subplot(2,1,2) > > After I have created these axes and plotted things on them, I want to > be able to set

[Matplotlib-users] subplots with the OO interface (ax.rowNum, ax.colNum)

2007-03-20 Thread Ryan Krauss
I have a figure with 2 subplots (2 rows, 1 column) created using the OO interface like this: ax1=fig.add_subplot(2,1,1) ax2=fig.add_subplot(2,1,2) After I have created these axes and plotted things on them, I want to be able to set their x and y lims. The function that creates the plot returns f

[Matplotlib-users] Changing size of legends with multiple plots

2007-03-20 Thread David Simpson
Hi! I'm trying to do a few plots in one figure using subplot, but the size of the legends isn't changing as I try to add more plots. I have found out how to change the size the hard-coded way, but is there any way I can get the legend to know how large it should be? For example, with the following