[Matplotlib-users] Plotting data in real time

2008-05-23 Thread Robert Garrett
Hi, I'd like to use Python to plot data in real-time. I've created a GUI using wxPython and have embedded a Matplotlib graph into a pane. My problem is that I don't know the best way to update the graph. What's the recommended method for this? The data comes from a peripheral device connected

[Matplotlib-users] New pgf backend for LaTex?

2008-05-23 Thread Friedrich Hagedorn
Hello, are there plan to implement a new backend for the latex proper use which create the drawing comand in the pgf language? With this kind of graphic creation I could overcome all the (font-) scaleing problems I have when I want to include a mpl graphic in my latex document. Even gnuplot has

Re: [Matplotlib-users] New pgf backend for LaTex?

2008-05-23 Thread Darren Dale
On Friday 23 May 2008 10:35:14 am Friedrich Hagedorn wrote: Hello, are there plan to implement a new backend for the latex proper use which create the drawing comand in the pgf language? With this kind of graphic creation I could overcome all the (font-) scaleing problems I have when I want

[Matplotlib-users] How is the size value used to generate symbols?

2008-05-23 Thread Neil Crighton
I'd like to plot values where the area of a marker is proportional to some value. How is the size value given in, say: scatter(x,y,'o',s=10) used to generate the markers? By eye it looks like the size value is proportional to the area (i.e. proportional to the radius squared for circle

Re: [Matplotlib-users] New pgf backend for LaTex?

2008-05-23 Thread Alan Isaac
On Friday 23 May 2008 10:35:14 am Friedrich Hagedorn wrote: are there plan to implement a new backend for the latex proper use which create the drawing comand in the pgf language? With this kind of graphic creation I could overcome all the (font-) scaleing problems I have when I want to

Re: [Matplotlib-users] New pgf backend for LaTex?

2008-05-23 Thread Friedrich Hagedorn
On Fri, May 23, 2008 at 10:51:05AM -0400, Darren Dale wrote: On Friday 23 May 2008 10:35:14 am Friedrich Hagedorn wrote: Hello, are there plan to implement a new backend for the latex proper use which create the drawing comand in the pgf language? With this kind of graphic creation I

Re: [Matplotlib-users] New pgf backend for LaTex?

2008-05-23 Thread Darren Dale
On Friday 23 May 2008 11:30:03 am Friedrich Hagedorn wrote: On Fri, May 23, 2008 at 10:51:05AM -0400, Darren Dale wrote: On Friday 23 May 2008 10:35:14 am Friedrich Hagedorn wrote: Hello, are there plan to implement a new backend for the latex proper use which create the drawing

Re: [Matplotlib-users] How is the size value used to generate symbols?

2008-05-23 Thread Manuel Metz
Neil Crighton wrote: I'd like to plot values where the area of a marker is proportional to some value. How is the size value given in, say: scatter(x,y,'o',s=10) used to generate the markers? By eye it looks like the size value is proportional to the area (i.e. proportional to the

Re: [Matplotlib-users] New pgf backend for LaTex?

2008-05-23 Thread Friedrich Hagedorn
On Fri, May 23, 2008 at 05:30:02PM +0200, Friedrich Hagedorn wrote: The next problem is that the standard size of the mpl graphic (8, 6) inches is too big for my latex document (0.5\linewidth). Therefore I must scale the mpl graphic (\includegraphics[width=0.5\linewidth]{...}). But with this

Re: [Matplotlib-users] New pgf backend for LaTex?

2008-05-23 Thread Darren Dale
On Friday 23 May 2008 12:25:39 pm Friedrich Hagedorn wrote: On Fri, May 23, 2008 at 05:30:02PM +0200, Friedrich Hagedorn wrote: The next problem is that the standard size of the mpl graphic (8, 6) inches is too big for my latex document (0.5\linewidth). Therefore I must scale the mpl