John
If you look through the thread, you will see I have responded before
saying I that had used this code successfully. I did not find any
detailed documentation necessary... the program is really self-
explanatory and well-commented.
Here is a sample that works for me:
from pylab import *
import windrose
figure(figsize=(8,8), facecolor='w')
ventV = [ 0.2, 0.2, 0.35, 0.09, 0.55, 0.5, 0.2, 0.33, 0.44, 0.22 ]
ventD = [ 65., 59., 74., 231., 268., 283., 166., 214., 66., 114.]
freq,ax=windrose.windplot(ventV,ventD,counts=False,speed_classes=[0.1,0.2,0.3,0.4,0.5],sectors=8,style='bar2')
title("And here is the title!", fontsize=14)
fig=ax.get_figure()
#for leg in fig.legends:
# setp(leg.get_texts(), fontsize=8)
draw()
show()
The commented code is in case you want to set the font
size for the legend.
Derek
PS As I said before, I suggest you get the latest version.
<kc106_2005-matplotlib@...9...> 2007/05/07 11:47 PM >>>
Thanks to everybody that responded to my question.
After looking at the different options, I do agree that windrose.py
fits my need the best. Unfortunately, there is insufficient information
embedded in the code to the point where I can use it. I sent the author
a email requesting more info and hopefully he would respond.
Just in case, have anybody used this code successfully? If so, could
you please share a sample dataset to use windrose.py?
Thanks,
grab "windrose.py" at the end of this thread
http://www.nabble.com/windrose-t1392107.html
I've not used it but I think it is what you are looking for: a
windrose module for python.
···
JDH
--
John Henry
-------------------------------------------------------------------------
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
--
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
views of the CSIR.
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
CallCentre@...1230...
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.