nappie74 wrote: > Hi, > I'm new in matplolib code, > I have matrix of winds vectors derivated from quiver introducing U,V > components,and positioning these in a sorted grid X,Y > with the command quiver (x, y, u, v,color='r') > It's possible to put in the figure the barbs to every arrow vector or > scaling the arrow with the values of its lenght derived by >>> r = > sqrt((U**2)+(V**2)) > Thanks a lot to averyone give me help > >> ----(^_^)----< >> > > Pie > Pie: quiver scales the vectors automatically, based upon their magnitude. See the docs at
http://matplotlib.sourceforge.net/matplotlib.pylab.html#-quiver See in particular the 'scale' and 'units' keywords. The 'quiver_demo.py' might help too. If you're asking about wind barbs (http://www.rap.ucar.edu/weather/info/about_windbarb.html), there isn't currently a built-in facility for that in matplotlib. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : [EMAIL PROTECTED] 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users