Polar plotting clockwise and rotated

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?

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), ('E', 'NE', 'N','NW', 'W', 'SW', 'S', 'SE') ) )

label_values = [item % 360 for item in range(90, -260, -45)]
thetagrids( range(0,360,45), label_values)

and using some well defined (linear) transformation for plotting - translating
your data to the actual tick positions and corresponding labels.

best regards Matthias

ยทยทยท

On Thursday 16 April 2009 21:47:35 Ng, Enrico wrote:

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 everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users