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 tex's default font (which looks
like times new roman). is there a way to use tex only for greek symbols but
retain the default sans-serif font of matplotlib for all the other things?

i want all the tick labels and text to be in the default font. for example,
in xlabel('\Delta direction'), it should have the sans-serif font in
"direction" but use tex for the \Delta.

is there a way to do this?

thank you.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to