[Matplotlib-users] windrose

2013-04-03 Thread Sudheer Joseph
Dear users,           Below is a sample script I got from windrose pack. I would like to place 2 windroses side by side so that a comparison can be made. For example I have created additional variables ws1 wd1, and I would like that to be placed in the same row as a 1 row 2 column way. Any help

[Matplotlib-users] windrose OO

2008-03-26 Thread Lionel Roubeyrie
Hi all, find with this message a modified version of windrose to be OO compliant. It uses inheritance from PolarAxes to create a WindroseAxes, with 4 methods (contour, contourf, bar and box). BTW it's now possible to control it like any other axes, with the limitation of subploting (subplot is t

[Matplotlib-users] windrose OO

2008-09-11 Thread Lionel Roubeyrie
Hi all, with few free hours, I have modified the windrose file to be O.O. compliant with the 0.98 matplotlib branch and normally bug free. The next posts will be on sourceforge : https://sourceforge.net/project/showfiles.php?group_id=239240&package_id=290902 and to see it in detail, here is the e

[Matplotlib-users] windrose 0.2

2006-10-09 Thread Lionel Roubeyrie
Hi all, after some searches, I have fixed some r_ticks problems on polaraxes, then I send you the new version of the windrose file, which I hope bugs are removed. You can now make two types of plot, bar and fill, and play with the resulting table of events,in number of counts or in percentage. Us

[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

Re: [Matplotlib-users] windrose

2013-03-19 Thread Paul Hobson
On Tue, Mar 19, 2013 at 2:22 AM, Sudheer Joseph wrote: > Dear users, > Attached is a windrose diagram created by using > https://sourceforge.net/project/showfiles.php?group_id=239240&package_id=290902. > Can any one tell me if the numbers displayed in the attached plot is

Re: [Matplotlib-users] windrose

2013-03-19 Thread Shahar Shani-Kadmiel
Just a thought: Shouldn't the bars terminate with a arc rather then a straight line? What value should one reading this diagram look at? The one at the center of the "bar" or the "corners" these values can be quite different. Sent from my iPhone On Mar 19, 2013, at 8:00 PM, Paul Hobson wrote

Re: [Matplotlib-users] windrose

2013-03-19 Thread Sudheer Joseph
*** > > From: Paul Hobson >To: Sudheer Joseph >Cc: "matplotlib-users@lists.sourceforge.net" > >Sent: Tuesday, 19 March 2013 11:30 PM >Subject: Re: [Matplotlib-users] windrose >

Re: [Matplotlib-users] windrose

2013-04-04 Thread Scott Sinclair
On 4 April 2013 06:45, Sudheer Joseph wrote: > Below is a sample script I got from windrose pack. I would like to > place 2 windroses side by side ... > > from windrose import WindroseAxes > from matplotlib import pyplot as plt ... > def new_axes(): > fig = plt.figure(figsize=(8, 8)

Re: [Matplotlib-users] windrose

2013-04-04 Thread Sudheer Joseph
Web- http://oppamthadathil.tripod.com *** - Original Message - > From: Scott Sinclair > To: "matplotlib-users@lists.sourceforge.net" > > Cc: > Sent: Thursday, 4 April 2013 12:37 PM > Subject: Re:

Re: [Matplotlib-users] windrose

2013-04-05 Thread Scott Sinclair
On 5 April 2013 03:54, Sudheer Joseph wrote: > Some how I am not getting the trick of the > rect = [0.1, 0.1, 0.8, 0.8] > > I tried > rect1= [0.1,0.1,.4,.4] > and rect2=[.4,.4,.8,.8] > but did not work You don't say exactly what you did, and how it didn't work... If you read http://matplotlib.o

Re: [Matplotlib-users] windrose

2013-04-05 Thread Sudheer Joseph
013 6:36 PM > Subject: Re: [Matplotlib-users] windrose > > On 5 April 2013 03:54, Sudheer Joseph wrote: >> Some how I am not getting the trick of the >> rect = [0.1, 0.1, 0.8, 0.8] >> >> I tried >> rect1= [0.1,0.1,.4,.4] >> and rect2=[.4,.4,.8,.8]

Re: [Matplotlib-users] windrose OO

2008-03-26 Thread Alan G Isaac
On Wed, 26 Mar 2008, Lionel Roubeyrie apparently wrote: > [Attachment: windrose_oo.py : APPLICATION/X-PYTHON, 28502 bytes] Thanks for the update. Cheers, Alan Isaac - Check out the new SourceForge.net Marketplace. It's t

Re: [Matplotlib-users] windrose OO

2008-08-11 Thread Christopher Barker
Lionel Roubeyrie wrote: find with this message a modified version of windrose to be OO compliant. Lionel, I've had this message of yours (from March), and finally had a chance to use it. Unfortunately, it seems to use the old Transforms mechanism, so won't work with the latest MPL. have

Re: [Matplotlib-users] windrose OO

2008-08-11 Thread Christopher Barker
Christopher Barker wrote: > have you ported it over yet? Can anyone else help out with a port? Note: it looks pretty easy, if yu know what you are doing: from matplotlib.transforms import Interval, Value Then in the code, I inly see Interval and Value used here: self.rintv = Interval(V

Re: [Matplotlib-users] windrose OO

2008-08-11 Thread Michael Droettboom
Christopher Barker wrote: > Is there a guide to translating code from the old to new Transforms > structure? > Yes, in the API_CHANGES file, in the source distribution. (I'd link to SVN, but it seems Sourceforge's SVN browser is down.) Cheers, Mike ---

Re: [Matplotlib-users] windrose OO

2008-08-11 Thread John Hunter
On Mon, Aug 11, 2008 at 3:51 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Christopher Barker wrote: >> Is there a guide to translating code from the old to new Transforms >> structure? > Yes, in the API_CHANGES file, in the source distribution. (I'd link to > SVN, but it seems Sourceforge'

Re: [Matplotlib-users] windrose OO

2008-08-11 Thread John Hunter
On Mon, Aug 11, 2008 at 3:51 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > Christopher Barker wrote: >> Is there a guide to translating code from the old to new Transforms >> structure? > Yes, in the API_CHANGES file, in the source distribution. (I'd link to > SVN, but it seems Sourceforge'

Re: [Matplotlib-users] windrose OO

2008-08-18 Thread Lionel Roubeyrie
Hi, sorry for the latency, holidays just finished :-( Find with this message a modified version of windrose_oo, but I'm not very familiar with the new projections facilities, and then the code is buggy : ## Traceback (most recent call last): File "windrose_oo.py",

Re: [Matplotlib-users] windrose 0.3

2006-10-12 Thread Alan Isaac
On Thu, 12 Oct 2006, Lionel Roubeyrie wrote: > here the third version of windrose.py This is great. I think moving the labels farther out would be nicer (e.g., http://www.pscleanair.org/airq/windrose/default.aspx ) Cheers, Alan Isaac -

Re: [Matplotlib-users] windrose 0.3

2006-10-13 Thread Derek
Lionel Roubeyrie <[EMAIL PROTECTED]> writes: > > Hi all, > continuing on the windroses, here the third version of windrose.py, with two > others styles (line and bar2 (is it what you want Derek?)). I want to know > how it's possible to modify the legends to be on axes, and not on the figure >

Re: [Matplotlib-users] windrose 0.3

2006-10-13 Thread Lionel Roubeyrie
Le vendredi 13 octobre 2006 08:26, Derek a écrit : > Lionel Roubeyrie <[EMAIL PROTECTED]> writes: > > Hi all, > > continuing on the windroses, here the third version of windrose.py, with > > two others styles (line and bar2 (is it what you want Derek?)). I want to > > know how it's possible to modi

Re: [Matplotlib-users] windrose 0.4

2006-10-18 Thread Derek Hohls
Lionel Improving with each version! A few small tweaks: * do not outline the colors in black; its hard to see smaller/shorter lines * 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 both * the 0.0% label can probably b

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 -

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-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-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

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

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