# problem using tex on axes label...

Hi,

I'm trying to use tex characters on axes label. In particular I want to use \$\widetilde{xxx}\$ command, but I obtain the following error:

matplotlib.pyparsing.ParseException: Found unexpected token, "{" (at char 10), (line:1, col:11)

What can I do to avoid this error?

Thanks,

Alex.

You are using the mathtext module, not TeX, which has partial support for TeX
characters. See http://matplotlib.sourceforge.net/matplotlib.mathtext.html
for details.

If you have LaTeX installed, you can set text.usetex = True in your rc
settings and then LaTeX will be used instead of the mathtext module. See
http://www.scipy.org/wikis/topical_software/UsingTex for details.

Unfortunately, there are problems on the windows platform that need to be
worked out.

···

On Tuesday 02 August 2005 04:44 am, Alex Rada wrote:

Hi,

I'm trying to use tex characters on axes label. In particular I want to
use \$\widetilde{xxx}\$ command, but I obtain the following error:

matplotlib.pyparsing.ParseException: Found unexpected token, "{" (at
char 10), (line:1, col:11)

What can I do to avoid this error?

--

Darren