From: Diaboflo <fh...@hw...> - 2009-09-16 15:33:17
|
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. |