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 baselines. I'd like to put plots on my TeX documents, so I want to output them as EPS. I also tried converting SVG into EPS with Inkscape, but the XY labels are disappeared on PDF-TeX documents from dvipdfm. Magician On 2013/01/29, at 10:48, Jae-Joon Lee wrote: > 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 a screenshot that > demonstrating the problem with your rc file. > > Regards, > > -JJ > > > > On Sun, Jan 20, 2013 at 5:24 PM, Magician <f_magic...@mac.com> wrote: > 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$)' > -'Plot 3' > then only the second one was raised. > Both Computer Modern and \mathdefault fonts have same issues. > > I want to fix all the baselines as default positions. > Does anyone have good ideas? > > > Magician ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users