|
From: Gregory L. <gre...@ff...> - 2004-07-21 20:32:40
|
I am sure there is better solutions, but
title(r"$\delta^{15}N \ and \ Trophic \ Level \ for \ %s \ Food \
Web$"%name)
should already be close to what you want: "\ " add a space and the name
is inserted in the classic python way (replace %s in the string by the
string appearing after the % operator...)
Now I wonder if mixing Tex math expression and normal text expression is
possible, something like:
title(r"$\delta^{15}N$ and Trophic Level for %s Food Web"%name)
Advantange would be to use classic font for non-math part, as done in
Tex...
This does not seems to work in matplotlib 0.54.2, but maybe in 0.60.2?
Or in future version? ;-)
Regards,
Greg.
|