I've found that putting the text you want to be sans-serif inside \sf{}
works. So something like:
xlabel(r'$\sf{\Delta direction})
-Jeffrey
On Wed, Mar 4, 2009 at 1:59 AM, Jouni K. Seppänen wrote:
> per freem writes:
>
> > i am using the tex feature to put some greek symbols in some labels o
per freem writes:
> i am using the tex feature to put some greek symbols in some labels of my
> plots. for example,
>
> rcParams['text.usetex'] = True
> plot(a, b, 'o')
> xlabel('\Delta direction')
Are you sure you need usetex? Matplotlib's own mathtext renderer is
really quite good these days,
hi all,
i am using the tex feature to put some greek symbols in some labels of my
plots. for example,
rcParams['text.usetex'] = True
plot(a, b, 'o')
xlabel('\Delta direction')
the '\Delta' is rendered correctly but that changes the fonts of the tick
labels and of all the text in the labels to te