From: Malte D. <mal...@we...> - 2010-06-21 19:49:50
|
Jeremy Conlin <jlc...@gm...> > I have followed this excellent example: > http://matplotlib.sourceforge.net/examples/pylab_examples/ganged_plots.html > > but I would like my plots to be 2/3 and 1/3 of the total height of the > figure (I only have 2 plots). What do I have to do to specify the > relative sizes of the figures? may something like ax1 = fig.add_subplot(311) ax2 = fig.add_subplot(212) work? if I look at pyplot.setp(ax1) I see a lot of things (like "position" or "anchor" or "axes_locator") which might work. Good luck, Malte |