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 not clear on how c works, any help will be appreciated.
thanks,
···
–
Flávio Codeço Coelho
registered Linux user # 386432
“Laws are like sausages. It’s better not to see them being made.”
Otto von Bismark