Re: [Matplotlib-users] Baseline of TeX fonts

2013-01-29 Thread Magician
Hi JJ, Thanks for your advice. I didn't use text.usetex option, and text.latex.preview made same results. So my cases may depend on other issues. I found the problems may be happened only when I output my plots as PDF or EPS. If I output as SVG or PNG, all characters are aligned on their baselin

Re: [Matplotlib-users] Baseline of TeX fonts

2013-01-28 Thread Jae-Joon Lee
I guess you have text.usetex=True? In this case, the baselines are not correct unless you also set "text.latex.preview" as True. For example, try to add following line in your rc file. text.latex.preview : True (You also need preview.sty installed) If this does not solve the problem, please post

[Matplotlib-users] Baseline of TeX fonts

2013-01-20 Thread Magician
Hi all, I'm using matplotlib 1.1.0 for Python27 on Windows 7. I'd like to apply TeX fonts at legends and labels. But if I try to do, the texts' baselines become upper, and the layouts get out of shapes. For example, I set legend titles as below: - 'Plot 1' - r'Plot 2 ($\alpha$)' -'Pl