On Wed, 19 Oct 2011 15:45:07 -0500
Benjamin Root <ben...@ou...> wrote:
> On Fri, Oct 14, 2011 at 3:42 AM, Nils Wagner
> <nw...@ia...>wrote:
>
>> Hi all,
>>
>> what is the native "data" coordinate system for Arrows
>>in
>> a polar plot ?
>>
>> How do I add arrows to a polar plot ?
>>
>> An example would be appreciated.
>> fig = figure(figsize=(12,12))
>> ax = fig.add_subplot(111, polar=True)
>>
>> Nils
>>
>>
> I don't know if it is an existing feature or not. If it
>isn't, then I think
> a feature request should be filed. If it is, then a
>request should be filed
> anyway for an example to be added to the gallery.
>
> Ben Root
Hi Ben,
it seems to work in general, but how can I increase the
size of the arrowhead ?
from pylab import figure, arrow, show
import numpy as np
fig = figure(figsize=(15,15))
ax = fig.add_subplot(111, polar=True)
ax.arrow(0.0,0.0,np.pi/4,0.3,lw=2)
ax.arrow(0.0,0.0,np.pi/2,0.4)
show()
Nils
|