SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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)

Showing 15 results of 15

From: Russell E. O. <ro...@uw...> - 2010年07月01日 23:17:58
In article <row...@ne...>,
 "Russell E. Owen" <ro...@uw...> wrote:
> My binaries are presently named:
> matplotlib-0.99.3-py2.5-macosx10.4-2010年06月30日.dmg
> matplotlib-0.99.3-py2.6-macosx10.4-2010年06月30日.dmg
> 
> The easy thing is to simply remove the date; the name then matches the 
> scheme used by numpy and scipy so it will probably be clear to most 
> users.
I guess I'm blind. Here is the naming scheme used by numpy and scipy:
scipy-0.7.2-py2.6-python.org.dmg
numpy-1.4.1-py2.6-python.org.dmg
One option is to simply adopt that (replacing python.org with Apple for 
your binary). But I really don't like omitting the minimum version of 
Mac OS X it works with (not to mention omitting "mac" altogether!), so I 
recommend the following, where I moved the python source before the 
version of python because otherwise the Apple in 
"py2.6-Apple-macosx10.6" might seem to refer to macosx instead of python:
matplotlib-0.99.3-Apple-py2.6-macosx10.6.dmg
for your existing binary, and
matplotlib-0.99.3-python-py2.5-macosx10.4.dmg
matplotlib-0.99.3-python-py2.6-macosx10.4.dmg
for mine.
-- Russell
From: Christopher B. <Chr...@no...> - 2010年07月01日 23:10:02
Russell E. Owen wrote:
> However, at present I don't know if there is a Python 2.6 that is both 
> compatible with older versions of Mac OS X and is built with 64-bit 
> support.
FWIW, I think the official 2.7 builds will be Intel32+Intel64+PPC32
I don't know if Ronald is going to back=port any of that for 2.6, but I 
kind of doubt it.
-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...
From: Russell E. O. <ro...@uw...> - 2010年07月01日 22:58:31
In article 
<AAN...@ma...>,
 John Hunter <jd...@gm...> wrote:
> On Thu, Jul 1, 2010 at 12:56 PM, Christopher Barker
> <Chr...@no...> wrote:
> > Russell E. Owen wrote:
> >> 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.
> >
> > Thanks Russell, this looks great -- it seems to be working on my OS-X
> > 10.5 PPC box.
> >
> >> 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).
> >
> > +1 -- these really should be the official ones (nothing wring with
> > serving up the 10.6 ones too, if they are well labeled)
> 
> I'm happy to upload them, how do you suggest they should all be named?
Great!
I suggest that the current file named:
 matplotlib-0.99.3-py2.6-macosx-10.6-universal.egg
be renamed to something like:
 matplotlib-0.99.3-ApplePython2.6-macosx-10.6.egg
This is based on two things:
- It needs a clear indicator that it requires Apple's python 2.6. Note 
that this is very unusual (I know of no other binaries built like this) 
so the name really needs to emphasize this
- I'm not sure what universal meant (clearly it's not Intel+PPC, which 
is the old meaning of the term). I suggest removing it or replacing it 
with something clearer. If you mean it has both 32-bit and 64-bit 
version then perhaps you could say i32-i64.
My binaries are presently named:
matplotlib-0.99.3-py2.5-macosx10.4-2010年06月30日.dmg
matplotlib-0.99.3-py2.6-macosx10.4-2010年06月30日.dmg
The easy thing is to simply remove the date; the name then matches the 
scheme used by numpy and scipy so it will probably be clear to most 
users. However, I do realize it may be a bit ambiguous since you also 
serve the other version, so you could indicate python.org python in some 
way, e.g.:
...-python_org_python26
You might consider whether you are planning to continue building 
binaries that work with Apple's python. Personally I am never in favor 
of using Apple's python for several reasons:
- Apple Python is part of the operating system, so it's safer to treat 
it as "do not touch".
- It makes packaging an application impossible; the application cannot 
include Python and so will not run on a variety of versions of Mac OS X
- Some packages cannot be upgraded (for instance Twisted) because Apple 
already provides a version.
- Apple never seems to update Python, so you don't get bug fixes.
However, at present I don't know if there is a Python 2.6 that is both 
compatible with older versions of Mac OS X and is built with 64-bit 
support. If there is not, then we'll need for two binary installers 
anyway (though I'd prefer both were for 3rd party versions of Python if 
possible).
-- Russell
On Thu, Jul 1, 2010 at 12:56 PM, Christopher Barker
<Chr...@no...> wrote:
> Russell E. Owen wrote:
>> 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.
>
> Thanks Russell, this looks great -- it seems to be working on my OS-X
> 10.5 PPC box.
>
>> 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).
>
> +1 -- these really should be the official ones (nothing wring with
> serving up the 10.6 ones too, if they are well labeled)
I'm happy to upload them, how do you suggest they should all be named?
JDH
From: Christopher B. <Chr...@no...> - 2010年07月01日 18:56:55
Russell E. Owen wrote:
> 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.
Thanks Russell, this looks great -- it seems to be working on my OS-X 
10.5 PPC box.
> 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).
+1 -- these really should be the official ones (nothing wring with 
serving up the 10.6 ones too, if they are well labeled)
-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...
From: John H. <jd...@gm...> - 2010年07月01日 18:56:38
On Thu, Jul 1, 2010 at 1:50 PM, Forest Yang <yzi...@gm...> wrote:
> Hi All,
>
> Is there any way to show the legend but without the box ? it is
> blocking the figures. Although I can set the alpha to make the legend
> transparent, still remove the box and make it transparent would be
> better.
Just as you can set the transparency of the box with
 leg.get_frame().set_alpha(0.5)
you can turn off visibility (as you can with all mpl artists)
 leg.get_frame().set_visible(False)
JDH
From: Forest Y. <yzi...@gm...> - 2010年07月01日 18:50:49
Hi All,
 Is there any way to show the legend but without the box ? it is
blocking the figures. Although I can set the alpha to make the legend
transparent, still remove the box and make it transparent would be
better.
Thanks.
Forest.
From: Philippe C. <phi...@gm...> - 2010年07月01日 18:41:13
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
>
>
From: P. R.M. <rom...@ho...> - 2010年07月01日 17:47:15
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 
From: ninjasmith <hen...@gm...> - 2010年07月01日 15:42:29
> 
> 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.
From: Russell E. O. <ro...@uw...> - 2010年07月01日 15:11:08
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
From: magnus_p <ma...@sn...> - 2010年07月01日 05:20:51
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.
From: Joe K. <jki...@wi...> - 2010年07月01日 03:00:26
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>
>
From: P. R.M. <rom...@ho...> - 2010年07月01日 02:33:51
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 
From: Joe K. <jki...@wi...> - 2010年07月01日 00:43:43
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
>
>
1 message has been excluded from this view by a project administrator.

Showing 15 results of 15

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /