The simplest case would be: import pylab pylab.plot([1,2]) pylab.xlabel("$\phi$") pylab.savefig("fig.png") pylab.savefig("fig.eps")
The png has the xlabel as phi, the xlabel in the eps file is just empty. I use python 2.5, don't really know which version of matplotlib is installed but it is not older than a year. Here the latex part of matplotlibrc: ### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex #text.usetex : False # use latex for all text handling. The following fonts ... #text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages for handling ... #text.latex.preamble : # IMPROPER USE OF THIS FEATURE WILL LEAD TO LATEX FAILURES ... #text.dvipnghack : False # some versions of dvipng don't handle ... #text.markup : 'plain' # Affects how text, such as titles and labels, are Thanks for your answers so far. Diaboflo -- View this message in context: http://www.nabble.com/Latex-characters-don%27t-show-when-I-save-to-eps-tp25433829p25474537.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users