On Mon, Jun 21, 2010 at 2:33 PM, Jeffrey Blackburne <je...@mit.edu> wrote:
> I have used add_axes() to do this in the past. E.g.,
>
> import matplotlib.pyplot as plt
>
> fig = plt.figure()
> leftmarg = 0.125   # change these numbers to taste
> botmmarg = 0.125
> width = 0.825
> height = 0.825
> frac = 2./3.
> ax0 = fig.add_axes([leftmarg, botmmarg, width, frac*height])
> ax1 = fig.add_axes([leftmarg, botmmarg+frac*height, width, (1-frac)*height])
> ax1.xaxis.set_ticklabels([])
> plt.show()
>
> Sorry it is in object-oriented style instead of pylab style...
>

Thanks!  This looks like it might work.  I'll give it a try.
Jeremy

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to