clabel font

Dear all,

I am making a contour plot using matplotlib. The title and axis annotations require math symbols so I set usetex=True in the rc(‘text’,usetex). However that made ALL texts in LaTeX (incl. contour labels) and the contour labels look not satisfying when rendered by TeX. What I needed is LaTeX for all texts EXCEPT the contour labels (I’d like to use the default sans-serif font for them.)

Can you tell me some hints?

Thanks in advance.

Cong.

I dont think this is possible. usetex is kind of an all or nothing deal.

Darren

···

On Tuesday 14 August 2007 07:18:58 am frigoris.ma@...287... wrote:

Dear all,

I am making a contour plot using matplotlib. The title and axis annotations
require math symbols so I set usetex=True in the rc('text',usetex).
However that made ALL texts in LaTeX (incl. contour labels) and
the contour labels look not satisfying when rendered by TeX. What I needed
is LaTeX for all texts EXCEPT the contour labels (I'd like to use the
default sans-serif font for them.)

Can you tell me some hints?