Re: [Matplotlib-users] windrose 0.5

2007-02-01 Thread Lionel Roubeyrie
Hi Derek, I forgot to mention: you can pass throught your problem by using a masked array instead of a simple array, and it should work fine, the 'default' parameter is here to fill missing value by -1.e20, then these directions will be dropped if your speed_classes not include that missing valu

Re: [Matplotlib-users] windrose 0.5

2007-02-01 Thread Derek Hohls
Lionel I have encountered a problem with windrose. In some cases, one or more of the wind direction values are null [''] - the program then fails on line 200: values = select( [greater_equal( direction, wind_classes[i] )],[speed], default=-1.e20 ) Is it possible for you to upgrade the program

Re: [Matplotlib-users] windrose 0.5

2006-10-26 Thread Lionel Roubeyrie
Hi Derek, yes you can, because you've got an axes instance: freq, axe= windrose.windplot( ... setp(axe.thetagridlabels,fontsize=16) #for directions setp(axe.rgridlabels,fontsize=10) #for values I want to change how windrose is called and controled, like all others matplotlib graphs. Maybe in 0.6

Re: [Matplotlib-users] windrose 0.5

2006-10-25 Thread Derek Hohls
Lionel Is it possible to change the font sizes on the (a) direction labels (N, S, E, W) (b) % values labelling the rings? Thanks Derek -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the v

Re: [Matplotlib-users] windrose 0.5

2006-10-19 Thread Derek Hohls
Stefan Here is short test program: from pylab import * import windrose figure(figsize=(8,8)) vVeloc = [ 0.2, 0.08, 0.2, 0.35, 0.09, 0.45, 0.5, 0.2, 0.33, 0.44, 0.22, 0.07 ] vDir = [ 65., 58., 59., 74., 231., 168., 183., 166., 214., 255., 60., 62.] freq,ax=windrose.windplot(vVeloc,vDir,counts=F

Re: [Matplotlib-users] windrose 0.5

2006-10-18 Thread Stefan van der Walt
On Wed, Oct 18, 2006 at 05:57:55PM +0200, Lionel Roubeyrie wrote: > Hi Derek, > happy to see you use it, here is windrose0.5 with some improvments :-) I'd like to see what the latest version does -- can you post a segment of code that demonstrates? Cheers Stéfan -

[Matplotlib-users] windrose 0.5

2006-10-18 Thread Lionel Roubeyrie
Hi Derek, happy to see you use it, here is windrose0.5 with some improvments :-) > * do not outline the colors in black; its hard to see smaller/shorter > lines Done > * the % labels need either to go along a vector NOT used to draw data, > or > be drawn last (on top of data); or a combination of