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
---
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