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
(1) |
2
(43) |
3
(17) |
4
(12) |
5
(9) |
6
(14) |
7
(8) |
8
|
9
(15) |
10
(16) |
11
(11) |
12
(10) |
13
(20) |
14
(7) |
15
(4) |
16
(16) |
17
(25) |
18
(10) |
19
(27) |
20
(26) |
21
(6) |
22
(20) |
23
(12) |
24
(15) |
25
(22) |
26
(15) |
27
(43) |
28
(8) |
29
(6) |
30
(12) |
|
|
|
|
|
Anyway guys, thanks a lot for the fast answer and all the good work you're doing. :) Johan 2008年6月10日 Eric Firing <ef...@ha...>: > John Hunter wrote: > > We should consider fix the autoscaling so that tthe default view lim >> are always open intervals that contain the data. >> > > This has been on my mental list for a long time. I will look into it. > > Eric >
John Hunter wrote: > We should consider fix the autoscaling so that tthe default view lim > are always open intervals that contain the data. This has been on my mental list for a long time. I will look into it. Eric
Jason Li wrote: > Hi Jeff, > > Thanks for your help in the past. Just wondering if I can ask another > question. This is with regard to plotting irregularly spaced geophysical > data. > > I have been happy plotting gridded data away using matplotlib/basemap. > Now I want to try irregularly spaced satellite data (swath data), using > the confourf function. Basically to replace our IDL program to make > plots like this: > > http://aurapar2u.ecs.nasa.gov/airscal2/Aqua_AIRS_Level1/AIRIBRAD.005/2008/001/AIRS.2008年01月01日.067.L1B.AIRS_Rad.v5.0.0.0.G08003111751.hdf.jpg > > > > I have not had much luck yet. In the following example, lat and lon are > 2D arrays. > > map = Basemap(projection='cyl', lon_0=0, ax=ax, llcrnrlon=minLon, > llcrnrlat=minLat, urcrnrlon=maxLon, urcrnrlat=maxLat) > x, y = map(lon, lat) > cs = map.contourf(x, y, obs, levels, cmap=myPrettyCmap) > > The error message: > > File > "/usr/local//lib/python2.5/site-packages/matplotlib/toolkits/basemap/basemap.py", > line 2442, in contourf > xl = xx.compress(condition).tolist() > AttributeError: compress > > > Do you have a good example as how to do this kind of thing? > > thanks > Jason: contourf expects gridded data. I think you need to use one of the approaches outlined in the cookbook entry http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data to grid your data, then plot it. If you'd like to send me a sample of the data, I can show you what I mean. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
On Tue, Jun 10, 2008 at 10:32 AM, Johan Mazel <joh...@gm...> wrote: > This is exactly what I wanted. > Thanks a lot. > I just wanted to know wether it was possible to add a little margin for the > y axes because I can't see the highest point of the curve since it's on the > edge of the subplot. > Anyway, thanks a lot for the good work. Yes, just set the xlim or ylim as desired xlim(-5,5) ylim(-6,10) We should consider fix the autoscaling so that tthe default view lim are always open intervals that contain the data. JDH
This is exactly what I wanted. Thanks a lot. I just wanted to know wether it was possible to add a little margin for the y axes because I can't see the highest point of the curve since it's on the edge of the subplot. Anyway, thanks a lot for the good work. Johan 2008年6月10日 John Hunter <jd...@gm...>: > On Tue, Jun 10, 2008 at 8:51 AM, Johan Mazel <joh...@gm...> > wrote: > > Hi > > I display two data vectors : the first is in the subplot 2,1,1 and the > > second in the subplot 2,1,2. Each of the data vectors have an x vector of > > dates to display values on x axis. > > The 2 data vectors are correlated in time and I want to show the > > correlation. > > > > But the two data vectors are not aligned as I wanted them to be since the > > data vector of subplot 2,1,2 have less element than the other one. > > > > I can't use the same x vector for both curves since it would force me to > add > > empty values in the second data vector. And I don't want to do that since > it > > would add useless points in my curve. > > > > So I need to find a way to allow me to align both data vectors on the > > different subplots without adding point to the data vector with a smaller > > number of elements. > > Does this do what you want? > > ax1 = subplot(211) > ax1.plot(x1, y1) > ax2 = subplot(212, sharex=ax1) > ax2.plot(x2, y2) > > ditto for sharey if you want to share the same y axes... > > > I >
On Tue, Jun 10, 2008 at 8:51 AM, Johan Mazel <joh...@gm...> wrote: > Hi > I display two data vectors : the first is in the subplot 2,1,1 and the > second in the subplot 2,1,2. Each of the data vectors have an x vector of > dates to display values on x axis. > The 2 data vectors are correlated in time and I want to show the > correlation. > > But the two data vectors are not aligned as I wanted them to be since the > data vector of subplot 2,1,2 have less element than the other one. > > I can't use the same x vector for both curves since it would force me to add > empty values in the second data vector. And I don't want to do that since it > would add useless points in my curve. > > So I need to find a way to allow me to align both data vectors on the > different subplots without adding point to the data vector with a smaller > number of elements. Does this do what you want? ax1 = subplot(211) ax1.plot(x1, y1) ax2 = subplot(212, sharex=ax1) ax2.plot(x2, y2) ditto for sharey if you want to share the same y axes... I
Yep, that works. I thought I had tried that, but I must have done something wrong. Sorry for the clutter, Mark On Tue, Jun 10, 2008 at 4:00 PM, John Hunter <jd...@gm...> wrote: > On Tue, Jun 10, 2008 at 8:41 AM, Tony S Yu <to...@mi...> wrote: > > Hey Mark, > > Actually, recalling subplot(211) seems to work for me. Strange. > > Yes, this is the expected behavior, you can reactivate any axes or > subplot by simply making the same axes or subplot call (with the same > arguments). This is discussed in the pylab tutorial section "working > with multiple figures and axes" at > http://matplotlib.sourceforge.net/tutorial.html#figs_and_axes > > JDH >
On Tue, Jun 10, 2008 at 8:41 AM, Tony S Yu <to...@mi...> wrote: > Hey Mark, > Actually, recalling subplot(211) seems to work for me. Strange. Yes, this is the expected behavior, you can reactivate any axes or subplot by simply making the same axes or subplot call (with the same arguments). This is discussed in the pylab tutorial section "working with multiple figures and axes" at http://matplotlib.sourceforge.net/tutorial.html#figs_and_axes JDH
Hi I display two data vectors : the first is in the subplot 2,1,1 and the second in the subplot 2,1,2. Each of the data vectors have an x vector of dates to display values on x axis. The 2 data vectors are correlated in time and I want to show the correlation. But the two data vectors are not aligned as I wanted them to be since the data vector of subplot 2,1,2 have less element than the other one. I can't use the same x vector for both curves since it would force me to add empty values in the second data vector. And I don't want to do that since it would add useless points in my curve. So I need to find a way to allow me to align both data vectors on the different subplots without adding point to the data vector with a smaller number of elements. Thanks Johan
Le mardi 10 juin 2008 à 09:27 -0400, Tony S Yu a écrit : > Wow, a question I can actually answer: > > ax1 = subplot(211) > ax2 = subplot(212) > ax1.plot([1,2,3]) > ax2.plot([4,3,2]) > ax1.plot([3,2,1]) I do prefer Tony's solution, but in a more pylab'ic (matlab'ic) way, there is also: gcf().get_axes()[N].plot(...) where N is the subplot you wan to access (starting from N=0).
Hey Mark, Actually, recalling subplot(211) seems to work for me. Strange. You may want to try forcing the first plot to remain before drawing the second: subplot(211) plot([1,2,3]) hold(True) subplot(212) plot([4,3,2]) subplot(211) plot([3,2,1]) -Tony On Jun 10, 2008, at 9:29 AM, Mark Bakker wrote: > Thanks Tony - > > I was hoping there was a plyab-ish command. > Like you can do Figure(1), Figure(2), and then reselect Figure(1) to > get access to the first figure. No such command for subplot, I > understand. > > Cheers, Mark > > On Tue, Jun 10, 2008 at 3:27 PM, Tony S Yu <to...@mi...> wrote: > Wow, a question I can actually answer: > > ax1 = subplot(211) > ax2 = subplot(212) > ax1.plot([1,2,3]) > ax2.plot([4,3,2]) > ax1.plot([3,2,1]) > > Best, > -Tony > > > On Jun 10, 2008, at 9:09 AM, Mark Bakker wrote: > > Hello list - > > I want to plot something in two subplots, then add something to the > first subplot. > How do I select the first subplot after I have plotted on the second > subplot? > > For example: > subplot(211) > plot([1,2,3]) > subplot(212) > plot([4,3,2]) > > Now I want to add something to the first subplot. > So I thought I could do subplot(211) again, but that destroys the > subplot. > Any suggestions? > > Thanks, Mark > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
Thanks Tony - I was hoping there was a plyab-ish command. Like you can do Figure(1), Figure(2), and then reselect Figure(1) to get access to the first figure. No such command for subplot, I understand. Cheers, Mark On Tue, Jun 10, 2008 at 3:27 PM, Tony S Yu <to...@mi...> wrote: > Wow, a question I can actually answer: > > ax1 = subplot(211) > ax2 = subplot(212) > ax1.plot([1,2,3]) > ax2.plot([4,3,2]) > ax1.plot([3,2,1]) > > Best, > -Tony > > > On Jun 10, 2008, at 9:09 AM, Mark Bakker wrote: > > Hello list - >> >> I want to plot something in two subplots, then add something to the first >> subplot. >> How do I select the first subplot after I have plotted on the second >> subplot? >> >> For example: >> subplot(211) >> plot([1,2,3]) >> subplot(212) >> plot([4,3,2]) >> >> Now I want to add something to the first subplot. >> So I thought I could do subplot(211) again, but that destroys the subplot. >> Any suggestions? >> >> Thanks, Mark >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> >> http://sourceforge.net/services/buy/index.php_______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > >
Wow, a question I can actually answer: ax1 = subplot(211) ax2 = subplot(212) ax1.plot([1,2,3]) ax2.plot([4,3,2]) ax1.plot([3,2,1]) Best, -Tony On Jun 10, 2008, at 9:09 AM, Mark Bakker wrote: > Hello list - > > I want to plot something in two subplots, then add something to the > first subplot. > How do I select the first subplot after I have plotted on the second > subplot? > > For example: > subplot(211) > plot([1,2,3]) > subplot(212) > plot([4,3,2]) > > Now I want to add something to the first subplot. > So I thought I could do subplot(211) again, but that destroys the > subplot. > Any suggestions? > > Thanks, Mark > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Hello list - I want to plot something in two subplots, then add something to the first subplot. How do I select the first subplot after I have plotted on the second subplot? For example: subplot(211) plot([1,2,3]) subplot(212) plot([4,3,2]) Now I want to add something to the first subplot. So I thought I could do subplot(211) again, but that destroys the subplot. Any suggestions? Thanks, Mark
On Tue, Jun 10, 2008 at 3:35 AM, Ryan May <rm...@gm...> wrote: > John Hunter wrote: >> >> I posted a snapshot of the docs at: >> >> http://matplotlib.sourceforge.net/doc/html/index.html >> > > WOW. I love the way sphinx docs look. But more importantly, great work > you guys on improving the documentation. As long as I've been using > matplotlib (2 1/2 years now), it's been a very powerful and > full-featured toolkit, but the problem was knowing where to find out how > to make it do what you want (or more often even knowing that such a > feature existed). The examples were (and still are) a good place to > look, but what you guys have put together here is asthetic and very > useful, and it puts a nice public face on all the hard work you've done. Indeed, that's the problem of many python projects (in my case sympy ...) that it's difficult to find out what it can do. But once we switched to sphinx, I am much more motivated to write more docs, as it looks good. :) Ondrej
John Hunter wrote: > > I posted a snapshot of the docs at: > > http://matplotlib.sourceforge.net/doc/html/index.html > WOW. I love the way sphinx docs look. But more importantly, great work you guys on improving the documentation. As long as I've been using matplotlib (2 1/2 years now), it's been a very powerful and full-featured toolkit, but the problem was knowing where to find out how to make it do what you want (or more often even knowing that such a feature existed). The examples were (and still are) a good place to look, but what you guys have put together here is asthetic and very useful, and it puts a nice public face on all the hard work you've done. My hat off to you. Keep it up. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma