Re: [Matplotlib-users] Making mathtex output look nicer

2009-10-23 Thread Gökhan Sever
Thanks Mike, that did the trick. I was giving a space before units to make them look equal. Yours is much neater. Has this bug submitted on SF. I can go ahead a file one if not. On Fri, Oct 23, 2009 at 9:57 AM, Michael Droettboom wrote: > It's a bug without an easy solution. Realistically, w

Re: [Matplotlib-users] Making mathtex output look nicer

2009-10-23 Thread Michael Droettboom
It's a bug without an easy solution. Realistically, we probably need to make two passes with the mathtext parser to determine spacing. A workaround is to use the \hspace command: r"[#/$cm^3\hspace{-0.3}$]" Mike On 10/23/2009 09:44 AM, Gökhan Sever wrote: Hello, Not that I like asking the

[Matplotlib-users] Making mathtex output look nicer

2009-10-23 Thread Gökhan Sever
Hello, Not that I like asking the same question again and again, but I just couldn't find a way to fix one annoyance on my figures when I use mathtex formatted labels. Here is one example figure: http://img14.imageshack.us/img14/4443/mathtex.png # Set the label host.set_ylabel(r"DMT CCN Concentra