If you have dvipng and set text.usetex : True in your matplotlibrc file, th=
en
xlabel(r'$\rho^2$ along axis') works (and looks darn pretty thanks to Darre=
n).
Ryan
On 12/7/05, Mark Bakker <ma...@gm...> wrote:
> Does anybody know a way to mix mathtext and regular text, for example in =
the
> axis label?
>
> Something like
>
> xlabel(r'$\rho^2$ along axis')
>
> doesn't work. I know this is mentioned in the manual.
> Just wondering if somebody knows a workaround rather than using the full
> Latex option.
>
> Thanks, Mark
>
|