Re: [Matplotlib-users] plotting wind-speed time series
Good news. When the next production version will be released? Le Jeudi 10 Mai 2007 15:47, John Hunter a écrit : I recently added legend support for polar to matplotlib svn. JDH - 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 -- Lionel Roubeyrie - [EMAIL PROTECTED] Chagé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr - 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
Re: [Matplotlib-users] plotting wind-speed time series
Thanks for the message, Lionel. I am now able to run windrose.py using Derek's sample data. I was having trouble at first but after updating scipy to the latest version, the problem went away. Now, I am trying to convert my data into a format acceptable to windrose. As indicated before, my data is of the form: time-stamp (dd/mm/yy hh:mm), wind speed, wind direction and so I need to do some kind of conversion. Thanks again. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lionel Roubeyrie Sent: Wednesday, May 09, 2007 12:13 AM To: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] plotting wind-speed time series Hi John, sorry for the latency, 08 may is a special day in France. Derek gives you a good example of how to use windrose, in addition I just say you can directly modify the font size of the legend with the legendsize option (have a look at all the options with help(windplot)). Except is what you want. Cordialy PS: I'm working on a graphical interface for windrose, don't know when I can finalyse it, maybe for the next month. I set a screenshot here. Le Lundi 07 Mai 2007 23:47, [EMAIL PROTECTED] a écrit : 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 https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Lionel Roubeyrie - [EMAIL PROTECTED] Chagé d'études et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr -- 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 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] plotting wind-speed time series
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. [EMAIL PROTECTED] 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 https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- 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 [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - 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
Re: [Matplotlib-users] plotting wind-speed time series
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 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] plotting wind-speed time series (was: What kind of chart should I use?)
Saw this: http://www.originlab.com/www/products/GraphGallery.aspx?GID=26s=8lm=215 Since I am not interested in wind direction, may be I can use stacked bar-chart. Still, how would I tie plot_data with it though? Regards, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, May 04, 2007 9:41 AM To: matplotlib-users@lists.sourceforge.net Subject: [Matplotlib-users] What kind of chart should I use? Hi list, I have a set of time series data which is year's worth of wind speed at a particular place (one data point per minute). I want to see how wind speed spreads throughout the day. I can do a scatter char with 24 hours of the day vs wind speed but then I end up with something that's not too useful (too many data points). What's more interesting is to present the data as a time / wind speed / frequency plot. The kind of plot shown in image_interp.py looks interesting. Is there a way to combine the capability of plot_date and imshow? If so, may be I can have hour of the day vs wind-speed with the color be a function of the data frequency. Thanks, -- John Henry -- 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 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] plotting wind-speed time series (was: What kind of chart should I use?)
On Fri, 4 May 2007 12:15:13 -0700 (PDT) [EMAIL PROTECTED] wrote: Saw this: http://www.originlab.com/www/products/GraphGallery.aspx?GID=26s=8lm=215 Since I am not interested in wind direction, may be I can use stacked bar-chart. Still, how would I tie plot_data with it though? I don't do what you are trying to do, but I do some other weather plots, http://www.oplnk.net/~ajackson/weather/ -- --- | Alan K. Jackson| To see a World in a Grain of Sand | | [EMAIL PROTECTED] | And a Heaven in a Wild Flower, | | www.ajackson.org | Hold Infinity in the palm of your hand | | Houston, Texas | And Eternity in an hour. - Blake | --- - 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