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 su

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: matplotlib-users@lists.sourc

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 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 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 ord

[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 -- T

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 a écrit : De: Ryan May Objet: Re: [Matplotlib-users] catching close figure event À: "Pellegrini

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 a écrit : De: Benjamin Root Objet: Re: [Matplotlib-users] catching close figure event À: "Pellegrini Eric" Cc: matplotlib-users@lists.sourceforge.net Date: Jeudi 29 juillet 2010, 19h26 On Thu, Jul 29, 2010 a

Re: [Matplotlib-users] catching close figure event

2010-07-29 Thread Ryan May
On Thu, Jul 29, 2010 at 12:26 PM, Benjamin Root wrote: > On Thu, Jul 29, 2010 at 12:18 PM, Pellegrini Eric > 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 following: >> >> f = pylab.figure() >

Re: [Matplotlib-users] catching close figure event

2010-07-29 Thread Benjamin Root
On Thu, Jul 29, 2010 at 12:18 PM, Pellegrini Eric 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 following: > > f = pylab.figure() > f.canvas.mpl_connect('close_event',my_function) > > but it fails bec

[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 (button_press

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

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

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 wrote: > 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

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 t

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 someon

Re: [Matplotlib-users] contour's polygons

2010-07-29 Thread Ian Thomas
On 28 July 2010 01:31, Phil Rosenfield wrote: > 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 from a ContourSet. import

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

2010-07-29 Thread Nikolaus Rath
Jeff Whitaker 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 distributed)? >> >> >> Thanks, >> >>

Re: [Matplotlib-users] Saving as eps file shifts image?

2010-07-29 Thread John Hunter
On Jul 28, 2010, at 6:55 PM, "Jenna L." wrote: > > Hmm that is not what my output looks like. Attached is a capture of my > output. I am using matplotlib version 0.98.5.3 > http://old.nabble.com/file/p29291928/shift_subplot_test.png > shift_subplot_test.png > You version of mpl is

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] 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] Confusion Matrix

2010-07-29 Thread Friedrich Romstedt
2010/7/29 Simon Friedberger : > Also I have now finished my confusion matrix program: > http://paste.pocoo.org/show/242834/ > Comments on the code would be very welcome. I think you can make use of axis.set_label_position('top') axis.set_ticks_position('none') Friedrich