+- Jeff Whitaker ---+
Jeff, I just had a thought
Isn't the country borders drawn as Path or Polygon objects? I believe
there are some matplotlib internal functions that can be given a list
of points (such as those for a grid) and a path and
+- Jeff Whitaker ---+
Here's the basic idea:
1) read the germany.dat file, use it to create a _geoslib Poly instance,
i.e.
from mpl_toolkits.basemap import _geoslib
b = np.asarray([lons,lats]).T # lons and lats are lists.
germanypoly =
On 7/23/11 9:32 AM, Yoshi Rokuko wrote:
+- Jeff Whitaker ---+
Here's the basic idea:
1) read the germany.dat file, use it to create a _geoslib Poly instance,
i.e.
from mpl_toolkits.basemap import _geoslib
b = np.asarray([lons,lats]).T # lons
On 7/14/11 2:25 PM, Yoshi Rokuko wrote:
hi, is it possible to restrict a contour plot to a
country? if i grid my data to projection coordinates
and then make a contour plot i can draw the country
borders on top, but since the data plotted outside
the country is a gridding artifact i would
+- Jeff Whitaker ---+
On 7/14/11 2:25 PM, Yoshi Rokuko wrote:
hi, is it possible to restrict a contour plot to a
country? if i grid my data to projection coordinates
and then make a contour plot i can draw the country
borders on top, but
On Fri, Jul 15, 2011 at 1:44 PM, Yoshi Rokuko yo...@rokuko.net wrote:
+- Jeff Whitaker ---+
On 7/14/11 2:25 PM, Yoshi Rokuko wrote:
hi, is it possible to restrict a contour plot to a
country? if i grid my data to projection coordinates
On 7/15/11 12:55 PM, Benjamin Root wrote:
On Fri, Jul 15, 2011 at 1:44 PM, Yoshi Rokuko yo...@rokuko.net
mailto:yo...@rokuko.net wrote:
+- Jeff Whitaker
---+
On 7/14/11 2:25 PM, Yoshi Rokuko wrote:
hi, is it possible to
hi, is it possible to restrict a contour plot to a
country? if i grid my data to projection coordinates
and then make a contour plot i can draw the country
borders on top, but since the data plotted outside
the country is a gridding artifact i would rather
not plot it.
to make it more clear what