Darren Dale wrote:
On Wednesday 20 December 2006 6:38 am, Toon Verstraelen wrote:
Hi,

Is it possible to make multiline labels with mathtext? When I try this:

pylab.title(r"$(a+b)^2\\(a-b)^2$")

only the first line is rendered. Is there a way to do this properly?

It looks like this isn't possible right now with regular mathtext. I suggest filing a request on the matplotlib sourceforge site, or even better, submitting a patch. In the meantime, your example works with usetex: True.

Darren

Ok, I will take a look at it. Is the suggested syntax with the double backslash satisfactory? Should the patch be written for mathtext or for mathtext2?

greetz,

Toon
begin:vcard
fn:Toon Verstraelen
n:Verstraelen;Toon
org:Ghent University;Center for Molecular Modeling
adr:;;Proeftuinstraat 86;Gent;Oost-Vlaanderen;9000;Belgium
email;internet:[EMAIL PROTECTED]
tel;work:+3292646556
x-mozilla-html:FALSE
url:http://molmod.UGent.be
version:2.1
end:vcard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to