[SciPy-user] subscript and superscript in xplt.legend

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue Feb 15 11:18:38 CST 2005


Steve Schmerler wrote:

> Hi
>
> I don't know what you want to do with your plots but if you plan to 
> include them in TeX you can export them via xplt.eps (if I remember 
> correctly) with some "normal" labels and put TeX-style formulas as 
> axis labels with the psfrag package (should be part of your TeX system 
> or available at ctan.org).
>
> Cheers steve
>
> Nils Wagner wrote:
>
>> Hi all,
>>
>> How can I use subscripts and superscripts in xplt.legend
>>
>> The example is
>>
>> \sigma(H^<_m , H_m)
>>
>> xplt.legend(['!s(H^<_m, H_m)'] doesn't work.
>>
>> Nils
>>
>>
>> _______________________________________________
>> SciPy-user mailing list
>> SciPy-user at scipy.net
>> http://www.scipy.net/mailman/listinfo/scipy-user
>>
>>
>
This works fine (second underscore )

'!s(H^<_m_ ,H_m_)'
 
Nils



More information about the SciPy-user mailing list