Re: [Matplotlib-users] Wind barbs with small arrow heads

2014-09-19 Thread Jesper Baasch-Larsen
Hi Ryan, Thanks for the insights. Your subclassing suggestions sounds fine to me. Best regards, Jesper > Den 17/09/2014 kl. 21.49 skrev Ryan May : > > Jesper, > > For performance reasons, what _make_barbs() does is create a (almost > degenerate) polygon for each wind barb in the data set. The

Re: [Matplotlib-users] Wind barbs with small arrow heads

2014-09-17 Thread Ryan May
Jesper, For performance reasons, what _make_barbs() does is create a (almost degenerate) polygon for each wind barb in the data set. The barbs are drawn such that y is along the barb, and x is perpendicular to the barb; the barb is then rotated as appropriate. The first point in the polygon is IIR

[Matplotlib-users] Wind barbs with small arrow heads

2014-09-17 Thread Jesper Larsen
Hi matplotlib users I am developing an application for showing weather forecasts using matplotlib. We use wind barbs for displaying wind forecasts: http://api.fcoo.dk/ifm-maps/greenland/?zoom=6&lat=62&lon=-45&layer=FCOO%20Standard&overlays=TTFFF This is fine for our "power users". We