mathtext in title

Hi all,

I am going to change the title of each subplot with respect to the actual value of \mu within a loop.
How can I do that ?

p = array(([0.1,0.01,0.001,0.0001]))
ic = 1
for mu in p:
title('$\mu=$'+str(p[ic-1])) # This version doesn't work
ic = ic + 1

Nils

try title('\\mu='\+str\(p\[ic\-1\]\)\+'')

Cory.

ยทยทยท

On Wed, 2005-02-02 at 12:48, Nils Wagner wrote:

Hi all,

I am going to change the title of each subplot with respect to the
actual value of \mu within a loop.
How can I do that ?

p = array(([0.1,0.01,0.001,0.0001]))
ic = 1
for mu in p:
title('\\mu='+str(p[ic-1])) # This version doesn't work
ic = ic + 1

Nils

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
))))))))))))))))))))))))))))))))))))))))))))
Cory Davis
Meteorology
School of GeoSciences
University of Edinburgh
King's Buildings
EDINBURGH EH9 3JZ

ph: +44(0)131 6505092
fax +44(0)131 6505780
cdavis@...372...
cory@...374...
http://www.geos.ed.ac.uk/contacts/homes/cdavis
))))))))))))))))))))))))))))))))))))))))))))