Re: [Matplotlib-users] How to add a basemap to a 3D surface plot

2014-07-17 Thread Benjamin Root
>From the docstring for readshapefile: A tuple (num_shapes, type, min, max) containing shape file info is returned. num_shapes is the number of shapes, type is the type code (one of the SHPT* constants defined in the shapelib module, see http://shapelib.maptools.org/shp_api.html) a

[Matplotlib-users] How to add a basemap to a 3D surface plot

2014-07-17 Thread claudef
Dear colleagues, Wonder if there is a solution for prejecting a basemap, in my task, its a river shapefile, onto a 3D surface plot using Matplotlib. I've tried to use the Axes3D.ax.add_collection3d(rivers) method but my test did throw an error message like this. # tentatively add basemap to