Figure titles and subplot titles

I didn't see this in the examples. Can I have a figure title and titles
for subplots too? Can someone post a quick sample? Thanks.

Stephen

stephen@...797... writes:
> I didn't see this in the examples. Can I have a figure title and titles
> for subplots too? Can someone post a quick sample? Thanks.

here's a short answer:
http://thread.gmane.org/gmane.comp.python.matplotlib.devel/1071/focus=1117

-- Phil

and a quick sample (not suptitle, but using subplots_adjust):

import pylab as p
p.figtext(0.5,0.9,'Big Old Title', ha='center')
p.subplots_adjust(top=0.8)
p.subplot(1,2,1)
p.title('Lefthand')
p.plot([4,3,2,1])
p.subplot(1,2,2)
p.title('Righthand')
p.plot([3,3,1,3])

ยทยทยท

On Jun 21, 2007, at 21 Jun,2:14 PM, Philip Austin wrote:

stephen@...797... writes:

I didn't see this in the examples. Can I have a figure title and titles
for subplots too? Can someone post a quick sample? Thanks.

here's a short answer:
http://thread.gmane.org/gmane.comp.python.matplotlib.devel/1071/focus=1117

-- Phil

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options