From: Cory D. <cd...@st...> - 2005-02-02 12:55:43
|
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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- )))))))))))))))))))))))))))))))))))))))))))) 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 cd...@st... co...@me... http://www.geos.ed.ac.uk/contacts/homes/cdavis )))))))))))))))))))))))))))))))))))))))))))) |