Content-Type: multipart/alternative; boundary="=-/NXFaFnU8P8DxOrgI/NY"
--=-/NXFaFnU8P8DxOrgI/NY
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by nick.procc.fiocruz.br
id i3GFSlJh028718
Hi John
I am using the Xlator class from matplotlib.cbook to parse equations in
python syntax for showing with mathtext. on all my equations I have
terms of the kind:
y[1], y[2], etc.
I would like to create an entry in the translation dictionary that would
translate these strings to:
y_1, y_2, etc,=20
How could I do this? The point is I want to preserve the number on these
strings.
I know this is more of a Python question but I would greatly appreciate
any help...
Fl=E1vio Code=E7o Coelho,
PhD
Programa de Computa=E7=E3o
Cient=EDfica
Funda=E7=E3o Oswaldo Cruz
Rio de Janeiro -- Brasil
________________________________________________________________________
--=-/NXFaFnU8P8DxOrgI/NY
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi John
I am using the Xlator class from matplotlib.cbook to parse equations in python syntax for showing with mathtext. on all my equations I have terms of the kind:
y[1], y[2], etc.
I would like to create an entry in the translation dictionary that would translate these strings to:
y_1, y_2, etc,
How could I do this? The point is I want to preserve the number on these strings.
I know this is more of a Python question but I would greatly appreciate any help...
Flávio Codeço Coelho, PhD
Programa de Computação Científica
Fundação Oswaldo Cruz
Rio de Janeiro -- Brasil