Polar plotting clockwise and rotated

I am using the 0.98.5

That works for me too but its gets messed up if I modify theta in order
to rotate the graph

Theta = pi/2 - theta
will cause the circles to appear

If I modify r, then it works ok

···

-----Original Message-----
From: Eric Firing [mailto:efiring@…202…]
Sent: Friday, May 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