Re: [Matplotlib-users] Basemap AxesGrid

2011年11月08日 03:54:56 -0800

+----------------------------- Yoshi Rokuko -----------+
> this works in principle, but however i can't increase
> the size of the grid.
> 
> even if i try something like:
> 
> fig = plt.figure(1, (15,18))
> fig.subplots_adjust(left=0.01, bottom=0.01,
> right=0.99, top=0.99)
> grid = AxesGrid(fig, 132,
> nrows_ncols = (2, 2),
> axes_pad = 0.1,
> cbar_location = "top",
> cbar_mode="single",
> )
> i get a small grid in the center with lots of white
> space around.
here is an example of what i mean:
 http://rokuko.net/to-small.png
best regards, yoshi
PS
done with:
fig = plt.figure(1, (15,25))
fig.subplots_adjust(left=0.1, bottom=0.1,
 right=.9, top=.9)
grid = AxesGrid(fig, 132,
 nrows_ncols = (3, 2),
 axes_pad = 0.1,
 cbar_location = "top",
 cbar_mode="single",
 )
for ax in grid:
 <...>
grid.cbar_axes[0].colorbar(im)
plt.savefig('to-small.png')
------------------------------------------------------------------------------
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

Reply via email to