Am 30.03.2013 16:29, schrieb Pawel Chojnacki: > Please pardon me, but what object is math.usetex attribute of? I can't find > it in the documentation. > > http://matplotlib.org/users/usetex.html Mentions only text.usetex. > >
You need to set mpl.rcParams['text.usetex'] = True For text you need unicode, for latex raw encoding. To have text and latex in one line, use xlabel(u'Häallo '+r'$\varphi$'+ 'r') Works for me, at least. ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users