01, 2009 2:14 AM
To: Ng, Enrico
Subject: Re: [Matplotlib-users] Polar plotting clockwise and rotated
With mpl from svn (and using ipython -pylab), the following works:
rr = rand(36)
r = np.hstack((rr, [rr[0]]))
theta = linspace(0, 2*pi, 37)
polar(theta, r)
Eric
To emulate the current behavior (which doesn't try to interpolate
between points) you can pass "resolution=1" to the polar command. But I
agree with Eric -- it sounds like updating my resolve this issue.
Mike
Eric Firing wrote:
> Ng, Enrico wrote:
>
>> The rotation and resetting of the labe
Ng, Enrico wrote:
> The rotation and resetting of the labels isn't a big issue.
> The issues is when I reverse the direction. Matplotlib seems to only
> want to plot in an anti-clockwise direction. I can transform the data
> to be backwards so that it looks ok, however when it tries to connect
>
The rotation and resetting of the labels isn't a big issue.
The issues is when I reverse the direction. Matplotlib seems to only
want to plot in an anti-clockwise direction. I can transform the data
to be backwards so that it looks ok, however when it tries to connect
the start and end points, i
Hi Enrico,
I'm afraid that this functionality is missing in matplotlib, but I'm not an
expert so there is still hope that this can be easily achieved.
A work around, that comes to my mind is resetting the label values using an
idea from another mail on this list
( thetagrids( range(0,360,45), (
I've been trying to figure out how to do this for a while. I need to
make polar plots which go around clockwise and have 0deg on top (north)
instead of on the side (east). How can this be done?
--
Stay on top of everythi