Re: [Matplotlib-users] clabel3D, is it possible?

2012-12-17 Thread Benjamin Root
On Sun, Dec 16, 2012 at 8:22 PM, Diego Avesani wrote: > dear all, > I have plot a 3D picture, I would like to have xy projection with contours > levels and labels. > The contours works but I do not get the labels. > > This is my code: > > import matplotlib.pyplot as plt > > from mpl_toolkits.mplo

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Andre' Walker-Loud
Hi Bob, > I am a matplotlib.pyplot novice, but I have looked through various FAQs to no > avail. > > I am plotting a polar graph with some negative values of r. Everything goes > well until I try to use rgrids(). Am I doing something wrong? > > I attach some demo scripts and their outputs. >

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Andre' Walker-Loud
> I am a matplotlib.pyplot novice, but I have looked through various FAQs to no > avail. > > I am plotting a polar graph with some negative values of r. Everything goes > well until I try to use rgrids(). Am I doing something wrong? > > I attach some demo scripts and their outputs. > > versi

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Pierre Haessig
Hi Bob, Le 17/12/2012 19:09, Bob Dowling a écrit : > > I am plotting a polar graph with some negative values of r. > Everything goes well until I try to use rgrids(). Am I doing > something wrong? I just noticed that calling rgrids *after* plotting works nicely for me: subplot(111, polar=True)

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Pierre Haessig
Le 17/12/2012 21:59, Pierre Haessig a écrit : > Maybe this the code behind the masking of half your curve, but I don't > know more. Looking closer at the plot, the curve is actually not masked ! Actually the "rmin functionality' is activated with rmin=-2*pi so that the whole r-axis is offset by +2

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Andre' Walker-Loud
On Dec 17, 2012, at 1:12 PM, Pierre Haessig wrote: > Le 17/12/2012 21:59, Pierre Haessig a écrit : >> Maybe this the code behind the masking of half your curve, but I don't >> know more. > Looking closer at the plot, the curve is actually not masked ! > > Actually the "rmin functionality' is acti

Re: [Matplotlib-users] uniqueness of polar coordinates (meaningfulness of r<0)

2012-12-17 Thread Alan G Isaac
http://en.wikipedia.org/wiki/Polar_coordinate_system#Uniqueness_of_polar_coordinates fwiw, Alan Isaac -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and prov

Re: [Matplotlib-users] Undocumented transform API change between 1.1 and 1.2?

2012-12-17 Thread Damon McDougall
On Mon, Dec 10, 2012 at 6:27 PM, Joe Kington wrote: > On Mon, Dec 10, 2012 at 2:45 AM, Phil Elson wrote: >> >> Hi Joe, >> >> Thanks for bringing this up, it is certainly valuable to highlight this on >> the mailinglist. As you say, the change is hard to spot and, I agree, makes >> library code su

Re: [Matplotlib-users] uniqueness of polar coordinates (meaningfulness of r<0)

2012-12-17 Thread Daniel Hyams
Maybe I'm just not seeing it; I don't see how the definition on wikipedia, your definition, and matplotlib behavior differ. import numpy as np import matplotlib matplotlib.use('WxAgg') import matplotlib.pyplot as plt t = np.linspace(0.0,2.0*np.pi, 50) r = np.linspace(0.0,2.0*np.pi, 50) plt.polar

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Brendan Barnwell
On 2012-12-17 14:36, Andre' Walker-Loud wrote: > On Dec 17, 2012, at 1:12 PM, Pierre Haessig wrote: > >> Le 17/12/2012 21:59, Pierre Haessig a écrit : >>> Maybe this the code behind the masking of half your curve, but I don't >>> know more. >> Looking closer at the plot, the curve is actually not m

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Andre' Walker-Loud
>> I reiterate that in polar coordinates, a negative value of "r" does not make >> sense. It is confusing at best. > > This isn't really true. Many standard introductions to polar > coordinates consider negative r as valid. It's simply treated as a > radius in the opposite direction I

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Brendan Barnwell
On 2012-12-17 20:05, Andre' Walker-Loud wrote: >>> I reiterate that in polar coordinates, a negative value of "r" >>> does not make sense. It is confusing at best. >> >> This isn't really true. Many standard introductions to polar >> coordinates consider negative r as valid. It's simply treated

Re: [Matplotlib-users] Novice question: Am I using pyplot.rgrids correctly?

2012-12-17 Thread Andre' Walker-Loud
Hi Brendan, I reiterate that in polar coordinates, a negative value of "r" does not make sense. It is confusing at best. >>> >>> This isn't really true. Many standard introductions to polar >>> coordinates consider negative r as valid. It's simply treated as >>> a radius in the oppos