Matplotlib Polar Plot Angles/Axes

afrogazer justin.kuto at
Fri Sep 26 23:43:47 CEST 2008

On Sep 26, 3:33 pm, afrogazer <justin.k... at> wrote:
> In my rush I seem to have overlooked that, maybe because it's Friday
> afternoon. Converting the degrees to radians fixed it:
> rad_angles = [elem*(pi/180) for elem in angles]
> Thanks,

One other caveat, some of the bars may over-lap. To prevent this, the
width can be set by converting it to radians too:

w = 45*pi/180
bar(angles, data, alpha=0.75, align='center', width=w, linewidth=0)

Now onto plotting clockwise with North(0 deg.) on top....

More information about the Python-list mailing list