On Thu, Aug 15, 2013 at 09:06:02PM +0200, vwf wrote:
[...]
> On stackoverflow I found:
> widths = np.linspace(0, 2, X.size)
> plt.quiver(X, Y, cos(deg), sin(deg), linewidths=widths)
[...]

I kind of found out how it works. quiver has width and linewidth.
width takes a scalar, linewidth can take a vector. 
width sets the width of the shaft, linewidth sets the width of the edge...

How it works precisely I do not know yet, but this works for me:

plt.quiver(x_vector,y_vector,u_vector,v_vector,
   linewidth=w_vector, width=0.001, headwidth=3,
   color=mycolor, edgecolors=mycolor)

Cheers

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to