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

2012-12-18 Thread Pierre Haessig
Hi Andre, Le 18/12/2012 06:52, Andre' Walker-Loud a écrit : There is no mention in the docs about the treatment of negative r. The treatment is contrary to my expectations, and I would wager contrary to many peoples expectations. So at a new minimum, at the very least, the docs should

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

2012-12-18 Thread Bob Dowling
This is causing so much fuss, I'm starting to feel bad about asking the question. I'll reply in the uniqueness thread about the (r,th) coordinate system from a mathematical perspective. From a matplotlib.pyplot user perspective, however, I think that if it is going to misbehave with negative

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

2012-12-18 Thread Pierre Haessig
Le 18/12/2012 11:13, Bob Dowling a écrit : Any how, the answer seems to be yes I'm using rgrids() correctly, but no I'm not using matplotlib-friendly data points. I shall adjust my values of (r,th). You don't need to change your (r,th) values. The two workarounds I see to get your version2

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

2012-12-18 Thread Andre' Walker-Loud
Hi Pierre, There is no mention in the docs about the treatment of negative r. The treatment is contrary to my expectations, and I would wager contrary to many peoples expectations. So at a new minimum, at the very least, the docs should make clear what is happening. I would further

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. version1.py

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

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 activated

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 In

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 as a radius

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 opposite direction In