Shrink figure to plot legend above

Hi all,

i have a lot of label entrys, which i want to put above the figure. My
problem is, i use 2 yaxes so a simple axes([]) call isn`t working.

Plotting graphs with only one x and y axes, using i.e.
"axes([0.1,0.1,0.9,0.8)]" worked perfect. Printing the legends for the
plots is working too, but the legend is above the figure, see example
code below. So how do i shrink the figure size so the legend isn`t
overlapping the graphs?

### Example code ###

import numpy as np
import matplotlib.pylab as mpl

fig = mpl.figure()
ax1 = fig.add_subplot(111)

# Using axes won`t work here
# mpl.axes([0.1,0.1,0.9,0.7])

x = np.linspace(1,10,10)
y = np.linspace(1,10,10)


ax2 = ax1.twinx()


Answer: Because we read from top to bottom, left to right!
Question: Why should i start my reply below the quoted text?