Re: [Matplotlib-users] Confusion Matrix

2010-07-29 Thread Matthieu Brucher
Hi, In scikits.learn, there is a confusion matrix and in the samples, there are several plots (scikit-learn.sf.net). Matthieu 2010/7/16 Simon Friedberger simon+matplot...@a-oben.org: Hello List. I'm trying to plot a confusion matrix and I got this far: http://paste.pocoo.org/show/238332/

Re: [Matplotlib-users] Confusion Matrix

2010-07-29 Thread Simon Friedberger
For some magical reason when I set the ticks_position to none, setting the label_position to 'top' is ignored. Did you try this? Is it another command arrangement thing? On 09:26 Thu 29.07.10, Friedrich Romstedt wrote: axis.set_label_position('top') axis.set_ticks_position('none')

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 79

2010-07-29 Thread ms
On 29/07/10 12:45, Waléria Antunes David wrote: Hi Benjamim, I made the changes as bellow and it displays the x-axis values formatted as expected, see my current image and my code. But, now i need to change the scale and the numbers of decimal places in order to appear on the graph like

Re: [Matplotlib-users] Contour plot of non-uniformly sampled data

2010-07-29 Thread Nikolaus Rath
Jeff Whitaker jswhit-97jfqw80gc6171pxa8y...@public.gmane.org writes: On 7/28/10 8:32 PM, Nikolaus Rath wrote: Hello, What is the best way to generate a contour plot from a set of non-uniformly sampled data (i.e., the datapoints do not lie on the points of a rectangular grid but are randomly

Re: [Matplotlib-users] contour's polygons

2010-07-29 Thread Ian Thomas
On 28 July 2010 01:31, Phil Rosenfield philr...@astro.washington.eduwrote: I'd like to use the polygons contour makes but I can't figure out how to get them from ContourSet. Any examples or links to helpful information would be excellent. Attached is an example of how to extract the polygons

Re: [Matplotlib-users] Hz to KHz

2010-07-29 Thread Matthias Michler
On Monday July 26 2010 18:23:29 Waléria Antunes David wrote: Hello all, I need to format the values of graphic to KHz.my values are in Hz see at idle python it displays the values as: 3000 3050 3100 3400 , but I need to go where it will be displayed KHz: 3.0 3.1 can someone help

Re: [Matplotlib-users] share axis and rotate subplot

2010-07-29 Thread Matthias Michler
On Thursday July 29 2010 12:05:24 Bala subramanian wrote: Friends, I wrote a small script to plot a data and its pdf in single figure but as two subplots. 1) However i want to share xaxis of ax2 (subplot 122) with the y axis of ax1 (subplot 121). What function should i use do that. I tried

Re: [Matplotlib-users] share axis and rotate subplot

2010-07-29 Thread Benjamin Root
On Thu, Jul 29, 2010 at 10:07 AM, Matthias Michler matthiasmich...@gmx.netwrote: On Thursday July 29 2010 12:05:24 Bala subramanian wrote: Friends, I wrote a small script to plot a data and its pdf in single figure but as two subplots. 1) However i want to share xaxis of ax2 (subplot

Re: [Matplotlib-users] Documentation error/bug?

2010-07-29 Thread Benjamin Root
On Wed, Jul 28, 2010 at 1:54 PM, Eric Firing efir...@hawaii.edu wrote: On 07/28/2010 05:48 AM, Benjamin Root wrote: On Tue, Jul 27, 2010 at 1:31 PM, Friedrich Romstedt friedrichromst...@gmail.com mailto:friedrichromst...@gmail.com wrote: 2010/7/26 Benjamin Root ben.r...@ou.edu

[Matplotlib-users] catching close figure event

2010-07-29 Thread Pellegrini Eric
Hello everybody, I would like to call a function when I close manually a window previously opened by a pylab.figure. I tried the following: f = pylab.figure() f.canvas.mpl_connect('close_event',my_function) but it fails because the 'close_event' is not recognized as a valid event

Re: [Matplotlib-users] catching close figure event

2010-07-29 Thread Benjamin Root
On Thu, Jul 29, 2010 at 12:18 PM, Pellegrini Eric ericpellegr...@yahoo.frwrote: Hello everybody, I would like to call a function when I close manually a window previously opened by a pylab.figure. I tried the following: f = pylab.figure() f.canvas.mpl_connect('close_event',my_function)

Re: [Matplotlib-users] catching close figure event

2010-07-29 Thread Ryan May
On Thu, Jul 29, 2010 at 12:26 PM, Benjamin Root ben.r...@ou.edu wrote: On Thu, Jul 29, 2010 at 12:18 PM, Pellegrini Eric ericpellegr...@yahoo.fr wrote: Hello everybody, I would like to call a function when I close manually a window previously opened by a pylab.figure. I tried the

Re: [Matplotlib-users] catching close figure event

2010-07-29 Thread Pellegrini Eric
Hi Ben, I use the version 0.99.3. Eric --- En date de : Jeu 29.7.10, Benjamin Root ben.r...@ou.edu a écrit : De: Benjamin Root ben.r...@ou.edu Objet: Re: [Matplotlib-users] catching close figure event À: Pellegrini Eric ericpellegr...@yahoo.fr Cc: matplotlib-users@lists.sourceforge.net Date:

Re: [Matplotlib-users] catching close figure event

2010-07-29 Thread Pellegrini Eric
Hi Ryan, bad luck, I use the version 0.99.3 ... and currently I must keep on using it ... Would you see another way to proceed from matplotlib ? thanks Eric --- En date de : Jeu 29.7.10, Ryan May rma...@gmail.com a écrit : De: Ryan May rma...@gmail.com Objet: Re: [Matplotlib-users] catching

[Matplotlib-users] online plotting site using MPL ?

2010-07-29 Thread Gary Pajer
I recall that there is an site online that produces all kinds of plots using mpl to render them. It has a name something like zumzum. Does anyone know what I'm talking about (and can you point me there?) thx, gary --

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 79

2010-07-29 Thread Waléria Antunes David
On Thu, Jul 29, 2010 at 8:45 AM, Waléria Antunes David waleriantu...@gmail.com wrote: Hi I made the changes as bellow and it displays the x-axis values formatted as expected, see my current image and my code. But, now i need to change the scale and the numbers of decimal places in order to

Re: [Matplotlib-users] online plotting site using MPL ?

2010-07-29 Thread Gökhan Sever
On Thu, Jul 29, 2010 at 2:02 PM, Gary Pajer gary.pa...@gmail.com wrote: I recall that there is an site online that produces all kinds of plots using mpl to render them. It has a name something like zumzum. Does anyone know what I'm talking about (and can you point me there?) thx, gary

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 80

2010-07-29 Thread PHobson
I submitted a correction to the code in your pastebin link below. Revisit the link (http://pastebin.com/vSbkXDzE) and run that code. -paul - From: Waléria Antunes David [mailto:waleriantu...@gmail.com] Sent: Thursday, July 29, 2010 12:08 PM To:

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 80

2010-07-29 Thread PHobson
Whoops. That didn't stick like I thought it would. Try here: http://pastebin.com/rJtUuWne -paul From: Paul Hobson Sent: Thursday, July 29, 2010 5:46 PM To: Waléria Antunes David; matplotlib-users@lists.sourceforge.net Subject: RE: [Matplotlib-users] Matplotlib-users Digest, Vol 50, Issue 80 I