You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
(2) |
2
(4) |
3
(6) |
4
(20) |
5
(2) |
6
(9) |
7
(18) |
8
(14) |
9
(5) |
10
(27) |
11
(40) |
12
(9) |
13
(4) |
14
(20) |
15
(9) |
16
(8) |
17
(10) |
18
(17) |
19
(1) |
20
(5) |
21
(6) |
22
(4) |
23
(4) |
24
(6) |
25
(4) |
26
(2) |
27
|
28
(2) |
29
(10) |
30
(6) |
31
(16) |
|
|
On Wednesday 09 May 2007 12:19:24 pm Johann Cohen-Tanugi wrote: > I am creating a "big" drawing ( figure(figsize=(16,20)) ), and when I > try to save it in eps/ps form, it mishandle the overall size and only > save a portion of the drawing. Saving in png or jpg works fine though. > Any idea? On my system, you cant create a figure that is larger than the monitor size, unless I use a non-gui backend like agg or ps. It doesnt matter whether I save an eps, png, or jpg. Also, make sure your postscript viewer is not truncating the page due to an inappropriate page size setting. Darren
I noticed on your Web Lab website that you suggest to download the Enthouhht edition. Although I suggest that to my students for class as well, we are currently running into some problems as the latest Enthought edition still includes an old numpy (version less than 1.0). Some important changes were made just before the 1.0 release, so please be aware of that. Now that we are on the topic, does anybody have good enough connections with Enthought to convince them to update the distribution? I can toss-in a box of donuts if that would help, Mark
It's PyQt3, I hope using PyQt4 in a future release. I'm also going to make= =20 some changes in the windfreq part, don't sure to keep missing values is goo= d=20 for the computation. For the moment, my major problem is the legend, becaus= e=20 polar axes don't have one, so I must use figlegend, and it's not very=20 useable. Thanks for your compliments Le Mercredi 09 Mai 2007 20:06, Christopher Barker a =E9crit=A0: > Lionel Roubeyrie wrote: > > 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. > > pretty cool. Is that pyGTK or wxPython? > > Keep us apprised, this looks nice, and I think I could use it (though I > need wxPython) > > -Chris =2D-=20 Lionel Roubeyrie - lro...@li... Chag=E9 d'=E9tudes et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr
hello, I am creating a "big" drawing ( figure(figsize=(16,20)) ), and when I try to save it in eps/ps form, it mishandle the overall size and only save a portion of the drawing. Saving in png or jpg works fine though. Any idea? Thanks, Johann
Hi everybody! I've just started using Python and matplotlib & basemap in order to continue using Matlab. I want to make some sea surface height anomaly plots and could find out how to define the color limits equivalent to caxis in Matlab. Can anyone help me? Thanks Sebastian
Thanks for the message, Lionel.=0A=0AI am now able to run windrose.py using= Derek's sample data. I was having trouble at first but after updating sci= py to the latest version, the problem went away.=0A=0ANow, I am trying to c= onvert my data into a format acceptable to windrose. As indicated before, = my data is of the form:=0A=0Atime-stamp (dd/mm/yy hh:mm), wind speed, wind = direction=0A=0Aand so I need to do some kind of conversion.=0A=0AThanks aga= in.=0A=0A> -----Original Message-----=0A> From: matplotlib-users-bounces@li= sts.sourceforge.net =0A> [mailto:mat...@li...urceforge= .net] On =0A> Behalf Of Lionel Roubeyrie=0A> Sent: Wednesday, May 09, 2007 = 12:13 AM=0A> To: mat...@li...=0A> Subject: Re: [M= atplotlib-users] plotting wind-speed time series=0A> =0A> =0A> Hi John,=0A>= sorry for the latency, 08 may is a special day in France.=0A> Derek gives = you a good example of how to use windrose, in =0A> addition I just say =0A>= you can directly modify the font size of the legend with the =0A> "legends= ize" =0A> option (have a look at all the options with help(windplot)). =0A>= Except is what you want. Cordialy=0A> =0A> PS: I'm working on a graphical = interface for windrose, don't =0A> know when I can =0A> finalyse it, maybe = for the next month. I set a screenshot here.=0A> =0A> Le Lundi 07 Mai 2007 = 23:47, kc1...@ya... a =E9crit :=0A> > Thanks to everybod= y that responded to my question.=0A> >=0A> > After looking at the different= options, I do agree that windrose.py =0A> > fits my need the best. Unfort= unately, there is insufficient =0A> > information embedded in the code to t= he point where I can =0A> use it. I =0A> > sent the author a email request= ing more info and hopefully he would =0A> > respond.=0A> >=0A> > Just in ca= se, have anybody used this code successfully? If =0A> so, could =0A> > you= please share a sample dataset to use windrose.py?=0A> >=0A> > Thanks,=0A> = >=0A> > > grab "windrose.py" at the end of this thread=0A> > >=0A> > >http:= //www.nabble.com/windrose-t1392107.html=0A> > >=0A> > >I've not used it but= I think it is what you are looking for: a =0A> > >windrose module for pyt= hon.=0A> > >=0A> > >JDH=0A> >=0A> > --=0A> > John Henry=0A> >=0A> >=0A> >= =0A> > =0A> ---------------------------------------------------------------= -------=0A> > ---=0A> > This SF.net email is sponsored by DB2 Express=0A> >= Download DB2 Express C - the FREE version of DB2 express and take=0A> > co= ntrol of your XML. No limits. Just data. Click to get it now.=0A> > http://= sourceforge.net/powerbar/db2/=0A> > _______________________________________= ________=0A> > Matplotlib-users mailing list=0A> > Matplotlib-users@lists.s= ourceforge.net=0A> > https://lists.sourceforge.net/lists/listinfo/matplotli= b-users=0A> =0A> -- =0A> Lionel Roubeyrie - lro...@li...=0A> C= hag=E9 d'=E9tudes et de maintenance=0A> LIMAIR - la Surveillance de l'Air e= n Limousin =0A> http://www.limair.asso.fr=0A> =0A =0A--=0AJohn Henry=0A=0A
Lionel Roubeyrie wrote: > 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. pretty cool. Is that pyGTK or wxPython? Keep us apprised, this looks nice, and I think I could use it (though I need wxPython) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no...
Jeff Whitaker wrote: > Jesper: You might consider just deleting the figure elements that you > don't want to re-use (instead of figuring out everything you do want to > re-use). Thanks, that approach sounds more sensible than mine. > Very nice web site! Are the plots generated on the fly, or are they > pre-generated? Thanks. The vertical profiles, time series and horizontal-vertical transect plots are always generated on the fly. The horizontal contour maps are generated on the fly if they do not already exist. There is a low priority process running in the background which generates contour maps for the fields at the sea surface (but not at depth) to reduce the time users have to wait. This does not need to be done prior to putting the forecasts on the web but can be done when it is already available (if someone requests a plot which has not already been generated it will then just be generated upon the request). Besides numpy and Matplotlib I have used the TurboGears rapid web development megaframework (which is mainly a stack of Python technologies for web development) and PyNIO for data access in the application. - Jesper
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 s= ay=20 you can directly modify the font size of the legend with the "legendsize"=20 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 ca= n=20 finalyse it, maybe for the next month. I set a screenshot here. Le Lundi 07 Mai 2007 23:47, kc1...@ya... a =E9crit=A0: > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users =2D-=20 Lionel Roubeyrie - lro...@li... Chag=E9 d'=E9tudes et de maintenance LIMAIR - la Surveillance de l'Air en Limousin http://www.limair.asso.fr
On May 8, 2007, at 1:22 PM, Fernando Perez wrote: > On 5/8/07, Aaron Hoover <ah...@ee...> wrote: > >> > I have been using the qt4 backend with ipython for maybe a year >> > now, currently >> > ipython 0.8.0. What is the output of "ipython -Version"? >> >> ipython -Version gives: >> >> 0.8.0 >> >> Specifically, the error seems to be happening on line 838 of Shell.py >> in the mainloop() function: >> ... >> --> 838 self.timer.start( self.TIMEOUT, True ) >> ... >> >> TypeError: too many arguments to QTimer.start(), 1 at most expected > > Is this an unaltered ipython, along with a matplotlib configured to > use Qt4 as its backend? You mentioned having modified ipython > yourself, which is most definitely NOT needed. > > I recently used this same ipython with the qt4 backend for several > days without any problem, so your report is rather mysterious... > > So, make sure that: > > 1. You have a fully unmodified ipython. > > 2. Your matplotlibrc file has the proper backend setting: > > backend : Qt4Agg > > > We should be able to track this down, since we know it works fine for > others (myself and Darren included). Indeed, I just removed my old IPython directory in site-packages and reinstalled - that fixed the problem. Thanks for all the help. Aaron
On 5/8/07, Aaron Hoover <ah...@ee...> wrote: > > I have been using the qt4 backend with ipython for maybe a year > > now, currently > > ipython 0.8.0. What is the output of "ipython -Version"? > > ipython -Version gives: > > 0.8.0 > > Specifically, the error seems to be happening on line 838 of Shell.py > in the mainloop() function: > ... > --> 838 self.timer.start( self.TIMEOUT, True ) > ... > > TypeError: too many arguments to QTimer.start(), 1 at most expected Is this an unaltered ipython, along with a matplotlib configured to use Qt4 as its backend? You mentioned having modified ipython yourself, which is most definitely NOT needed. I recently used this same ipython with the qt4 backend for several days without any problem, so your report is rather mysterious... So, make sure that: 1. You have a fully unmodified ipython. 2. Your matplotlibrc file has the proper backend setting: backend : Qt4Agg We should be able to track this down, since we know it works fine for others (myself and Darren included). cheers, f
> > On Tuesday 08 May 2007 02:43:45 pm Aaron Hoover wrote: >> Hi All, >> >> I was excited to see that a Qt4 backend is available for matplotlib - >> I'm running 0.87.7. So, I installed PyQt4 from source from the >> riverbankcomputing website (OSX comes with the Qt framework already >> installed), and tried to give it a go. >> >> First off I got the error: >> >> "No module named qt" >> >> So, I went into the Shell.py script in the IPython subdirectory of >> site-packages and changed all instances of "import qt" to "from PyQt4 >> import Qt as qt". > > There is already support for the qt4 backend in ipython, you should > not have > to make any changes to (recent versions of) ipython. > >> It fixed the module not found error, but now >> I get the following error in Shell.py >> >> "TypeError: too many arguments to QTimer.start(), 1 at most expected" >> >> I realize that this is more likely an error with ipython, but I'm >> wondering if anyone else has seen this. If so, have people verified >> that ipython (0.80) is indeed compatible with the Qt4Agg backend. > > I have been using the qt4 backend with ipython for maybe a year > now, currently > ipython 0.8.0. What is the output of "ipython -Version"? ipython -Version gives: 0.8.0 Specifically, the error seems to be happening on line 838 of Shell.py in the mainloop() function: ... --> 838 self.timer.start( self.TIMEOUT, True ) ... TypeError: too many arguments to QTimer.start(), 1 at most expected Thanks, Aaron
Thanks, Philip. I wasn't aware of gmane. I only did a google search. Regards, > -----Original Message----- > From: Philip Austin [mailto:pa...@eo...] > Sent: Tuesday, May 08, 2007 11:51 AM > To: kc1...@ya... > Cc: mat...@li... > Subject: Re: [Matplotlib-users] plotting wind-speed time series > > > kc1...@ya... writes: > > > > I have not received a response from the author. Could you please > > post version 5 of windrose.py? > > The Gmane search page is a great resource for this kind of thing: > http://search.gmane.org/?query=windrose&author=Lionel+Roubeyrie&group=gmane.comp.python.*&sort=date&DEFAULTOP=and&xP=windrose%09py&xFILTERS=Gcomp.python.*-Alionel+roubeyrie---A http://article.gmane.org/gmane.comp.python.matplotlib.general/7041/match=windrose regards, Phil -- John Henry
On Tuesday 08 May 2007 02:43:45 pm Aaron Hoover wrote: > Hi All, > > I was excited to see that a Qt4 backend is available for matplotlib - > I'm running 0.87.7. So, I installed PyQt4 from source from the > riverbankcomputing website (OSX comes with the Qt framework already > installed), and tried to give it a go. > > First off I got the error: > > "No module named qt" Are you setting your backend to qt4agg and not qtagg?
On Tuesday 08 May 2007 02:43:45 pm Aaron Hoover wrote: > Hi All, > > I was excited to see that a Qt4 backend is available for matplotlib - > I'm running 0.87.7. So, I installed PyQt4 from source from the > riverbankcomputing website (OSX comes with the Qt framework already > installed), and tried to give it a go. > > First off I got the error: > > "No module named qt" > > So, I went into the Shell.py script in the IPython subdirectory of > site-packages and changed all instances of "import qt" to "from PyQt4 > import Qt as qt". There is already support for the qt4 backend in ipython, you should not have to make any changes to (recent versions of) ipython. > It fixed the module not found error, but now > I get the following error in Shell.py > > "TypeError: too many arguments to QTimer.start(), 1 at most expected" > > I realize that this is more likely an error with ipython, but I'm > wondering if anyone else has seen this. If so, have people verified > that ipython (0.80) is indeed compatible with the Qt4Agg backend. I have been using the qt4 backend with ipython for maybe a year now, currently ipython 0.8.0. What is the output of "ipython -Version"?
Jesper Larsen wrote: > On Monday 07 May 2007 16:46, Jeff Whitaker wrote: > >> Jesper: Can you be more specific about why you need a deepcopy? Those >> methods you mention do not modify the Basemap instance, although they do >> modify the axes instance they are used with. It shouldn't be a problem >> reusing the Basemap instance with a new axes instance (without using >> using deepcopy). >> > > Thanks Jeff, > > You are absolutely right, I have changed my code so that it does not perform a > deepcopy now. I must have done something wrong when I wrote the code some > time ago (I think, maybe I was confused by the memory issues we discussed a > while ago). > > I am considering reusing an entire figure instance (which I guess I will have > to copy) as well instead of just the basemap instance but I don't know if it > is worth the effort or it is just as fast to redo the figure based on the > basemap instance. I consider doing it because the map decorations are > unchanged between the plots - a profiling of the application reveals that > they take a considerable amount of time to perform. Any recommendations on > that issue? > > - Jesper > > Ps. You can see a test/development version of the web application for which I > am using matplotlib/basemap in (besides for my scientific work) here (if it > is running when you read this): > > http://ocean.dmi.dk/apps/forecast/ > > (some bugs remain) > Jesper: You might consider just deleting the figure elements that you don't want to re-use (instead of figuring out everything you do want to re-use). Very nice web site! Are the plots generated on the fly, or are they pre-generated? -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 325 Broadway Boulder, CO, USA 80305-3328
kc1...@ya... writes: > > I have not received a response from the author. Could you please > post version 5 of windrose.py? The Gmane search page is a great resource for this kind of thing: http://search.gmane.org/?query=windrose&author=Lionel+Roubeyrie&group=gmane.comp.python.*&sort=date&DEFAULTOP=and&xP=windrose%09py&xFILTERS=Gcomp.python.*-Alionel+roubeyrie---A http://article.gmane.org/gmane.comp.python.matplotlib.general/7041/match=windrose regards, Phil
Hi All, I was excited to see that a Qt4 backend is available for matplotlib - I'm running 0.87.7. So, I installed PyQt4 from source from the riverbankcomputing website (OSX comes with the Qt framework already installed), and tried to give it a go. First off I got the error: "No module named qt" So, I went into the Shell.py script in the IPython subdirectory of site-packages and changed all instances of "import qt" to "from PyQt4 import Qt as qt". It fixed the module not found error, but now I get the following error in Shell.py "TypeError: too many arguments to QTimer.start(), 1 at most expected" I realize that this is more likely an error with ipython, but I'm wondering if anyone else has seen this. If so, have people verified that ipython (0.80) is indeed compatible with the Qt4Agg backend. Any ideas how I can fix this? Thanks, Aaron
Derek, When you say "on version 5", do you mean windrose itself is on version 5? May be that's why in your sample code, you invoked windrose via: freq,ax=windrose.windplot(ventV,ventD,counts=False,speed_classes=[0.1,0.2,0.3,0.4,0.5],sectors=8,style='bar2') but the version of windrose from John Hunter's message (http://www.nabble.com/windrose-t1392107.html) doesn't look anywhere like that. I have not received a response from the author. Could you please post version 5 of windrose.py? Appreciate it. <quote author='Derek Hohls'> I would suggest contacting the author directly. windrose.py is on version 5 (AFAIK). I have used it on a project and it works well. Derek >>> "John Hunter" <jd...@gm...> 05/04/07 10:34 PM >>> On 5/4/07, Alan Jackson <al...@aj...> wrote: > On Fri, 4 May 2007 12:15:13 -0700 (PDT) > kc1...@ya... wrote: > > > Saw this: > > > > http://www.originlab.com/www/products/GraphGallery.aspx?GID=26&s=8&lm=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? 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 </quote> -- John Henry
On Monday 07 May 2007 16:46, Jeff Whitaker wrote: > Jesper: Can you be more specific about why you need a deepcopy? Those > methods you mention do not modify the Basemap instance, although they do > modify the axes instance they are used with. It shouldn't be a problem > reusing the Basemap instance with a new axes instance (without using > using deepcopy). Thanks Jeff, You are absolutely right, I have changed my code so that it does not perform a deepcopy now. I must have done something wrong when I wrote the code some time ago (I think, maybe I was confused by the memory issues we discussed a while ago). I am considering reusing an entire figure instance (which I guess I will have to copy) as well instead of just the basemap instance but I don't know if it is worth the effort or it is just as fast to redo the figure based on the basemap instance. I consider doing it because the map decorations are unchanged between the plots - a profiling of the application reveals that they take a considerable amount of time to perform. Any recommendations on that issue? - Jesper Ps. You can see a test/development version of the web application for which I am using matplotlib/basemap in (besides for my scientific work) here (if it is running when you read this): http://ocean.dmi.dk/apps/forecast/ (some bugs remain)
Look at two_scales.py in the "examples" directory of the source distribution. Johann On Tuesday, 8 May 2007 09:59, Schmidt Michael wrote: > Hi, > > I am pretty new to python and matplotlib - > > I am struggeling a bit doing a 2d plot with two graphs in one with > different scaling on the left and right y-axis e.g. time vs > temperature and rainfall? > > Can someone give me a hint or example-code? > > Cheers Michael >
Hi, I am pretty new to python and matplotlib -=20 I am struggeling a bit doing a 2d plot with two graphs in one with different scaling on the left and right y-axis e.g. time vs temperature and rainfall? Can someone give me a hint or example-code? Cheers Michael =20 ************************************************************************ The information in this email together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this email message is prohibited, unless as a necessary part of Departmental business. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************************************
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. >>> <kc1...@ya...> 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 Mat...@li... 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 Cal...@cs.... This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
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
At 2:30 PM -0600 2007年05月07日, Samuel M. Smith wrote: >If you see my other post titled (Segmentation Fault TkAgg backend). >I was getting a seg fault >It appears to be a problem with the MPL in the scipy superpack. When >I reinstalled your package it >worked again. The reason I installed the scipy superpack was it was >the only package installer for scipy. >Any chance of you posting a package installer of scipy? I'm afraid it's not likely, at least not in the near term. I don't really need scipy (though it would be handy at times) and work is keeping me busy on other tasks. -- Russell