> Rich: What are X and Y set to? They should be the map projection
> coorindates of the grid. If they are latitudes and longitudes, this
> will work for 'cyl' but not 'merc'. For 'merc', you must convert the
> lats and lons to x and y using
>
> x, y = mp(lon, lat)
>
> -Jeff
>
Thanks Jeff,
Rich Fought wrote:
> Hi,
>
> I've successfully plotted gridded data on a basemap "cyl" projection
> using pcolor:
>
> mp = Basemap(projection="cyl", resolution="l", llcrnrlon=0.0,
> urcrnrlon=30.0, llcrnrlat=-5.0, urcrnrlat=5.0)
> pc = mp.pcolor(X, Y, zvalsm, cmap=cm.jet)
>
> However, if I simp
Hi,
I've successfully plotted gridded data on a basemap "cyl" projection
using pcolor:
mp = Basemap(projection="cyl", resolution="l", llcrnrlon=0.0,
urcrnrlon=30.0, llcrnrlat=-5.0, urcrnrlat=5.0)
pc = mp.pcolor(X, Y, zvalsm, cmap=cm.jet)
However, if I simply I change the projection type to m