Edin Salkovic wrote:
> Hi kaushik,
>
> On 7/6/07, kaushik.ghose <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> When I do
>>
>> m.text(0,0,'$\sum_{n=1}^{100}$');m.axis('off');m.savefig('test.svg')
>
> Shouldn't that be:
> r'$\sum_{n=1}^{100}$' # i.e. a "raw" string.
>
> or:
>
> '$\\sum_{n=1}^{100}$' # Escaped backslash
>
>From my experience, with usetex True and without r'', the TeX string is parsed
correctly even for stuff like text(0,0,'$\sum_{n=1}^{100}$ with $\Omega$'), i.e.
mathmode and textmode combined.
Here, indeed, with usetex False, using r'' produces the \sum sign in the .svg
but
"n=1" and "100" are not alinged correctly (they both appear above \sum). With
usetex
True there is the NotImplementedError (mpl 0.90.0dev3131).
--
cheers,
steve
I love deadlines. I like the whooshing sound they make as they fly by. --
Douglas Adams
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users