Re: [Matplotlib-users] Setting Relative Heights For Figure Rows

2010-01-11 Thread Jae-Joon Lee
See this example http://matplotlib.sourceforge.net/examples/pylab_examples/scatter_hist.html Or, you're willing to learn something new, you may use axes_grid toolkit. http://matplotlib.sourceforge.net/examples/axes_grid/scatter_hist.html -JJ ---

Re: [Matplotlib-users] Setting Relative Heights For Figure Rows

2010-01-11 Thread Matthias Michler
Hi Chris, I think pyplot.axes does what you are after, e.g. ax1 = axes([0.1, 0.3, 0.8, 0.6]) ax2 = axes([0.1, 0.1, 0.8, 0.1]) Kind regards, Matthias from the docs of pyplot.axes: `axes(rect, axisbg='w')`` where *rect* = [left, bottom, width, height] in normalized (0, 1) units. *axisbg* is

[Matplotlib-users] Setting Relative Heights For Figure Rows

2010-01-11 Thread Chris Spencer
I wanted to display my figure legend below my figure in the second row, so I used subplot(211) to create two rows. However, this creates two rows of equal height, so my graph is crammed into half the figure height in the first row, while my tiny legend barely fills up any of the second row. How do