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
(16) |
2
(16) |
3
(5) |
4
(4) |
5
(4) |
6
(10) |
7
(33) |
8
(11) |
9
(20) |
10
(7) |
11
(8) |
12
(18) |
13
(27) |
14
(21) |
15
(15) |
16
(10) |
17
(12) |
18
(3) |
19
(12) |
20
(12) |
21
(14) |
22
(32) |
23
(15) |
24
(20) |
25
(12) |
26
(32) |
27
(29) |
28
(17) |
29
(25) |
30
(12) |
31
(5) |
perfect! was really simple, but I did not think about it. thanks for your help! 2010年7月1日 Matthias Michler <Mat...@gm...>: > On Wednesday, June 30, 2010 06:24:12 pm Philippe Crave wrote: >> Hello, >> >> I have a subplot with 4 lines. >> I display the legend. >> I can remove a line easily with something like del(self.ax.lines[n]). >> But how can I remove the line in the legend ? >> >> I found that I can remove all the lines, add news ones, but all the >> lines (new and deleted) remain in the legend. > > Hi Philippe, > > I think you simply can set up a new legend replacing the old one. I attached > an example script of that. > > Kind regards, > Matthias > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
Joe, Excellent! this worked out perfectly... thank you so much for your help. Perhaps these shapefiles should be published somewhere, since it really is useful to have. I wasnt able to find it anywhere on the web. anyway, problem solved; you saved my day. thanks again, P.R. Date: 2010年6月30日 22:00:15 -0500 From: jki...@wi... Subject: Re: [Matplotlib-users] extract country borders data & convert to shapefile To: rom...@ho... CC: mat...@li... Ah, sorry I misunderstood. You can get them by using GMT's gshhs tool (or just using pscoast with the right options) to dump out the political borders in GMT format and then convert them to a shapefile using ogr2org (or whichever tool you find easiest... Personally I use the python wrappers around ogr for more control.) To save you a bit of trouble, I zipped political boundary shapefiles (from GSHHS version 2.0, so they'll coincide perfectly with the GSHHS coastline data) and put them here: http://www.geology.wisc.edu/~jkington/borders.zip There's probably a way to do it using basemap, as well, but I don't know it off the top of my head. Hope that helps, -Joe On Wed, Jun 30, 2010 at 9:33 PM, P. R.M. <rom...@ho...> wrote: hi, thanks for the response. I already have & know how to use the GSHHS coastline data; what I need is political boundaries (country borders) data that will coincide with the GSHHS coastline data. In other words, I can't simply use any political boundaries shapefile, since the coastlines will not line up with the various resolutions of the GSHHS coastline data. I hope this makes it a little more clear... So, I'd like to source the country border data from matplotlib/basemap's GSHHS dataset, and convert it to shapefile format. can anyone please provide some guidance on how to achieve this? thanks again, P.Romero Date: 2010年6月30日 19:43:34 -0500 From: jki...@wi... Subject: Re: [Matplotlib-users] extract country borders data & convert to shapefile To: rom...@ho... CC: mat...@li... If you just need the GSHHS data in shapefile format, it's available on the NOAA GSHHS website. If you prefer a direct link [96MB zip file]: http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhs/version2.0/shapefiles/gshhs_shp_2.0.zip Hope that helps, -Joe On Wed, Jun 30, 2010 at 6:34 PM, P. R.M. <rom...@ho...> wrote: I have a non-matplotlib related project that requires usage of GSHHS dataset shapefiles. The regular GSHHS dataset doesnt appear to include political boundaries, however the GSHHS dataset used by matplotlib/basemap does include country/border data. I'd like to extract matplotlib/basemap GSHHS country data & convert it to shapefile format. specifically, the following files that are included with matplotlib/basemap: countries_c.dat countries_f.dat countries_h.dat countries_i.dat countries_l.dat countriesmeta_c.dat countriesmeta_f.dat countriesmeta_h.dat countriesmeta_i.dat countriesmeta_l.dat how can I convert these files to shapefile format, or where can I get shapefiles that already include this data & that are based on the GSHHS coastline data? please help, thanks, P.Romero The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. Get busy. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how. _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1
> > Hi, > > I think what you are after is the interactive mode of matplotlib. You can > turn > is on by "ion" and redraw the current figure using "draw". In ipythons > "pylab" > mode this is done implicit. I attached some example lines which guide you > to > the right direction. I'm not sure why I need two draws in my attached > script, > but at least it seems to do the job. > For more infos you may visit: > http://matplotlib.sourceforge.net/users/shell.html#controlling-interactive- > updating > > Kind regards, > Matthias > > > import numpy as np > import sys > import matplotlib.pylab as pyp > > a = np.array([0, 4, 5, 5, 3, 4, 5]) > pyp.ion() > pyp.figure() > pyp.plot(a) > pyp.draw() > pyp.draw() > > input = sys.stdin.readline() > print "input 1 : %s " % (input) > pyp.xlabel('my xlabel %s' % input) > pyp.draw() > pyp.draw() > > input = sys.stdin.readline() > print "input 2 : %s " % (input) > > pyp.ioff() > pyp.show() > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > that almost fixes it. I can now plot and re draw during the execution of my script. However I cannot interact with the plots. i.e. I can't zoom in on an area. when the script gets to the point where pyp.show() is called then I'm able to do this. I'm thinking there may be no way round this? or is there some way to run matplot lib plot in a different thread? -- View this message in context: http://old.nabble.com/matplotlib-in-interactive-mode-from-a-script-tp29023641p29047262.html Sent from the matplotlib - users mailing list archive at Nabble.com.
In article <row...@ne...>, "Russell E. Owen" <ro...@uw...> wrote: > I'm trying to find a matplotlib 0.99.3 binary installer that works with > the standard python.org Python (preferably 2.6) and hence works with Mac > OS X 10.4 or greater. (I distribute an application that needs to run on > a wide range of versions of Mac OS X). > > The official binary I found refuses to install on my machine claiming it > wants system python 2.6 (I happen to be running 10.5 so that's no use to > me, and some users of my application are running 10.4). > > I also tried the egg, but of course it fails -- presumably it's based on > the same build. > > If a binary isn't available I"ll make my own, but I figured I'd check > first. > > -- Russell > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first I made binaries (on Mac OS X 10.5) using my instructions: <http://www.astro.washington.edu/users/rowen/BuildingMatplotlibForMac.htm l> They are available from here, for now: <http://www.astro.washington.edu/users/rowen/python/> please test them. If they work then I hope the matplotlib folks will consider serving them as official "for 3rd-party Python" binaries (as opposed to the current ones they are serving, which are for Apple's Python). -- Russell
I finally solved it my self, after half a day of headbanging. This did the trick for me, it is really good since it uses the values of the lower x axis, so you do not have to go in fiddle with ticklabels etc, it also changes values when you pan/zoom etc. fig = pl.figure(1,figsize=(10.5,8)) fig.clf() ax_kms = fig.add_subplot(111) ax_kms.step(velocity, spect) ax_hz = ax_kms.twiny() x_1, x_2 = ax_kms.get_xlim() ax_hz.set_xlim(calc_frequency(x_1,data.restfreq/1e9), calc_frequency(x_2,data.restfreq/1e9)) Great! -- View this message in context: http://old.nabble.com/Twiny-and-affine-transform-for-xlim-tp29032627p29041680.html Sent from the matplotlib - users mailing list archive at Nabble.com.
Ah, sorry I misunderstood. You can get them by using GMT's gshhs tool (or just using pscoast with the right options) to dump out the political borders in GMT format and then convert them to a shapefile using ogr2org (or whichever tool you find easiest... Personally I use the python wrappers around ogr for more control.) To save you a bit of trouble, I zipped political boundary shapefiles (from GSHHS version 2.0, so they'll coincide perfectly with the GSHHS coastline data) and put them here: http://www.geology.wisc.edu/~jkington/borders.zip<http://www.geology.wisc.edu/%7Ejkington/borders.zip> There's probably a way to do it using basemap, as well, but I don't know it off the top of my head. Hope that helps, -Joe On Wed, Jun 30, 2010 at 9:33 PM, P. R.M. <rom...@ho...> wrote: > hi, > thanks for the response. > > I already have & know how to use the GSHHS coastline data; what I need is > political boundaries (country borders) data that will coincide with the > GSHHS coastline data. In other words, I can't simply use any political > boundaries shapefile, since the coastlines will not line up with the various > resolutions of the GSHHS coastline data. I hope this makes it a little more > clear... > > So, I'd like to source the country border data from matplotlib/basemap's > GSHHS dataset, and convert it to shapefile format. > can anyone please provide some guidance on how to achieve this? > > thanks again, > P.Romero > > ------------------------------ > Date: 2010年6月30日 19:43:34 -0500 > From: jki...@wi... > Subject: Re: [Matplotlib-users] extract country borders data & convert to > shapefile > To: rom...@ho... > CC: mat...@li... > > > If you just need the GSHHS data in shapefile format, it's available on the NOAA > GSHHS website <http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html>. > > If you prefer a direct link [96MB zip file]: > > http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhs/version2.0/shapefiles/gshhs_shp_2.0.zip > > Hope that helps, > -Joe > > > On Wed, Jun 30, 2010 at 6:34 PM, P. R.M. <rom...@ho...> wrote: > > I have a non-matplotlib related project that requires usage of GSHHS > dataset shapefiles. > The regular GSHHS dataset doesnt appear to include political boundaries, > however the GSHHS dataset used by matplotlib/basemap does include > country/border data. I'd like to extract matplotlib/basemap GSHHS country > data & convert it to shapefile format. > > specifically, the following files that are included with > matplotlib/basemap: > countries_c.dat > countries_f.dat > countries_h.dat > countries_i.dat > countries_l.dat > countriesmeta_c.dat > countriesmeta_f.dat > countriesmeta_h.dat > countriesmeta_i.dat > countriesmeta_l.dat > > how can I convert these files to shapefile format, or where can I get > shapefiles that already include this data & that are based on the GSHHS > coastline data? > > please help, > thanks, > P.Romero > > > > ------------------------------ > The New Busy is not the too busy. Combine all your e-mail accounts with > Hotmail. Get busy.<http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------ > Hotmail is redefining busy with tools for the New Busy. Get more from your > inbox. See how.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2> >
hi, thanks for the response. I already have & know how to use the GSHHS coastline data; what I need is political boundaries (country borders) data that will coincide with the GSHHS coastline data. In other words, I can't simply use any political boundaries shapefile, since the coastlines will not line up with the various resolutions of the GSHHS coastline data. I hope this makes it a little more clear... So, I'd like to source the country border data from matplotlib/basemap's GSHHS dataset, and convert it to shapefile format. can anyone please provide some guidance on how to achieve this? thanks again, P.Romero Date: 2010年6月30日 19:43:34 -0500 From: jki...@wi... Subject: Re: [Matplotlib-users] extract country borders data & convert to shapefile To: rom...@ho... CC: mat...@li... If you just need the GSHHS data in shapefile format, it's available on the NOAA GSHHS website. If you prefer a direct link [96MB zip file]: http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhs/version2.0/shapefiles/gshhs_shp_2.0.zip Hope that helps, -Joe On Wed, Jun 30, 2010 at 6:34 PM, P. R.M. <rom...@ho...> wrote: I have a non-matplotlib related project that requires usage of GSHHS dataset shapefiles. The regular GSHHS dataset doesnt appear to include political boundaries, however the GSHHS dataset used by matplotlib/basemap does include country/border data. I'd like to extract matplotlib/basemap GSHHS country data & convert it to shapefile format. specifically, the following files that are included with matplotlib/basemap: countries_c.dat countries_f.dat countries_h.dat countries_i.dat countries_l.dat countriesmeta_c.dat countriesmeta_f.dat countriesmeta_h.dat countriesmeta_i.dat countriesmeta_l.dat how can I convert these files to shapefile format, or where can I get shapefiles that already include this data & that are based on the GSHHS coastline data? please help, thanks, P.Romero The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. Get busy. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
If you just need the GSHHS data in shapefile format, it's available on the NOAA GSHHS website <http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html>. If you prefer a direct link [96MB zip file]: http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhs/version2.0/shapefiles/gshhs_shp_2.0.zip Hope that helps, -Joe On Wed, Jun 30, 2010 at 6:34 PM, P. R.M. <rom...@ho...> wrote: > I have a non-matplotlib related project that requires usage of GSHHS > dataset shapefiles. > The regular GSHHS dataset doesnt appear to include political boundaries, > however the GSHHS dataset used by matplotlib/basemap does include > country/border data. I'd like to extract matplotlib/basemap GSHHS country > data & convert it to shapefile format. > > specifically, the following files that are included with > matplotlib/basemap: > countries_c.dat > countries_f.dat > countries_h.dat > countries_i.dat > countries_l.dat > countriesmeta_c.dat > countriesmeta_f.dat > countriesmeta_h.dat > countriesmeta_i.dat > countriesmeta_l.dat > > how can I convert these files to shapefile format, or where can I get > shapefiles that already include this data & that are based on the GSHHS > coastline data? > > please help, > thanks, > P.Romero > > > > ------------------------------ > The New Busy is not the too busy. Combine all your e-mail accounts with > Hotmail. Get busy.<http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >