Re: [Matplotlib-users] quiver2

2006-08-22 Thread Eric Firing
Flavio, One more point: please do not use quiver2 directly. Instead, use quiver, which will call quiver2 unless it finds a keyword argument that exists only in the old version of quiver. The name quiver2 is used only temporarily to provide this compatibility, which will be removed in a futur

Re: [Matplotlib-users] quiver2

2006-08-22 Thread Flavio Coelho
Thanks Eric,in fact it depends on if x,y are 0 or not. But I got it to work it now. thanks,FlávioOn 8/22/06, Eric Firing < [EMAIL PROTECTED]> wrote:Flavio Coelho wrote:> Hi,>> I am tring to figure out how to use the c argument to the quiver2 function. >> I want to be able to color my arrows proport

Re: [Matplotlib-users] quiver2

2006-08-22 Thread Eric Firing
Flavio Coelho wrote: > Hi, > > I am tring to figure out how to use the c argument to the quiver2 function. > > I want to be able to color my arrows proportionally to their size. > > I have tried this and it doesn' t work as I imagined: > > c = sqrt((array(u)-array(x))**2+(array(v)-array(y))**2)

[Matplotlib-users] quiver2

2006-08-22 Thread Flavio Coelho
Hi,I am tring to figure out how to use the c argument to the quiver2 function.I want to be able to color my arrows proportionally to their size. I have tried this and it doesn' t work as I imagined: c = sqrt((array(u)-array(x))**2+(array(v)-array(y))**2)quiver2(x,y,u,v,c)the docstring on quiver2 is