Chris,
If you have lat-long, you can call your basemap object to convert it to map
coordinates. I forget if you have to call inverse=True or not. Off the top
of my head it would be something like this (assuming 'map' is your Basemap
object that has already been initialized):
x, y = map(45.0,
On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker jsw...@fastmail.fm wrote:
On 5/21/10 3:57 PM, Benjamin Root wrote:
I did some more digging and I think I have a hypothesis for what is
happening.
There is only one main difference between a call to .drawstates() and
.readshapefiles() with
Benjamin Root wrote:
On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker jsw...@fastmail.fm
Ben: That's why you should use the basemap methods where possible
(they handle these things for you).
Yeah, that wasn't possible in my case. In addition, not all pyplot
plotting functions
On 5/24/10 10:24 AM, Christopher Barker wrote:
Benjamin Root wrote:
On Fri, May 21, 2010 at 5:16 PM, Jeff Whitakerjsw...@fastmail.fm
Ben: That's why you should use the basemap methods where possible
(they handle these things for you).
Yeah, that wasn't possible in my case.
On 5/24/10 8:45 AM, Benjamin Root wrote:
On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker jsw...@fastmail.fm
mailto:jsw...@fastmail.fm wrote:
On 5/21/10 3:57 PM, Benjamin Root wrote:
I did some more digging and I think I have a hypothesis for what
is happening.
There is
2010 11:44:53 -0600
From: jsw...@fastmail.fm
To: chris.bar...@noaa.gov; matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes
on pyplot call
On 5/24/10 10:24 AM, Christopher Barker wrote:
Benjamin Root wrote
the matplotlib core) ???
thanks again,
p.romero
Date: Mon, 24 May 2010 11:44:53 -0600
From: jsw...@fastmail.fm
To: chris.bar...@noaa.gov; matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes
on pyplot call
On 5/24/10 10:24 AM
Jeff Whitaker wrote:
On 5/24/10 10:24 AM, Christopher Barker wrote:
I need to be able to draw a filled polygon from coordinates in memory,
for instance, but didn't see a way to do this directly.
Chris: If you have the map projection coordinates of the polygon,
nope -- we've got lat-long
On 5/21/10 3:57 PM, Benjamin Root wrote:
I did some more digging and I think I have a hypothesis for what is
happening.
There is only one main difference between a call to .drawstates() and
.readshapefiles() with respect to loading and plotting data.
.drawstates() loads *only* the line