Matplotlib Polar Plot Angles/Axes
justin.kuto at gmail.com
Fri Sep 26 23:46:21 CEST 2008
On Sep 26, 4:42 pm, Bas <wegw... at gmail.com> wrote:
> On Sep 26, 10:33 pm, afrogazer <justin.k... at gmail.com> wrote:> rad_angles = [elem*(pi/180) for elem in angles]
> You are missing some more on a friday afternoon: angles is created by
> arange, so it is a numpy array. In that case you simply can do
> rad_angles = pi/180 * angles
> No need to use list-comprehensions, that is the whole idea about using
> these kick-ass objects!
Thanks! Should have thought of that, Fridays are a drag.
More information about the Python-list