Positioning the title

Can someone tell me how to position the title? When I do a multiple
plots, the title ends up in my top plot. I position the plot locations
using the following:

ax1 =fig.add_axes([0.2, 0.8, 0.65, 0.05], **axprops)
ax2=fig.add_axes([0.2,0.75,0.65,0.05],**axprops)

No matter where I position these axes, the title shows up right in the
middle of the upper most plot. I'd like to put the title above the top
most plot. Another option maybe to title the entire window. I'd like
to know how to do that as well.

Jon

Use figure text:

figtitle = 'This is a somewhat long figure title'
t = fig.text(0.5, 0.95, figtitle,
               horizontalalignment='center',
               fontsize=16)

ยทยทยท

On Thu, May 15, 2008 at 9:31 AM, Jon Choy <jon.s.choy@...287...> wrote:

Can someone tell me how to position the title? When I do a multiple
plots, the title ends up in my top plot. I position the plot locations
using the following:

ax1 =fig.add_axes([0.2, 0.8, 0.65, 0.05], **axprops)
ax2=fig.add_axes([0.2,0.75,0.65,0.05],**axprops)

No matter where I position these axes, the title shows up right in the
middle of the upper most plot. I'd like to put the title above the top
most plot. Another option maybe to title the entire window. I'd like
to know how to do that as well.