On Mon, Nov 7, 2011 at 1:40 PM, Yoshi Rokuko <yo...@rokuko.net> wrote:
> > is there a way for using Basemap with AxisGrid? > > > > did someone try something like: > > > > grid = AxisGrid() > > for i in range(4): > > grid[i].scatter(with underlying Basemap) > > the common thing is probably something like: > > fig = pl.figure() > for i in range(4): > fig.add_subplot(2,2,i) > bm = Basemap() > x, y = bm(lon, lat) > pl.scatter(x, y, ..., vmin=globalmin, vmax=globalmax) > > that works nice, but how do i plot a global colorbar then? > > Why not something like this: fig = plt.figure() grid = AxesGrid(...) bm = Basemap(...) for ax in grid : x, y = bm(lon, lat) ax.scatter(x, y, vmin=globalmin, vmax=globalmax) I do variations of this all the time. Ben Root
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save 700ドル by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users