On Thu, May 15, 2008 at 9:31 AM, Jon Choy <[EMAIL PROTECTED]> 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.

Use figure text:


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to