> -----Original Message-----
> From: Ernest Adrogué [mailto:[email protected]]
> Sent: Tuesday, February 16, 2010 1:58 PM
> To: [email protected]
> Subject: Re: [Matplotlib-users] DateFormatter + Latex issue
>
> 16/02/10 @ 16:20 (-0500), thus spake Filipe Pires Alvarenga Fernandes:
> > "\\" works for titles and label, but not for DateFormatter, but
> \vspace did
> > the trick!
> >
> > Thanks again for the help.
> >
> > ps: I'm new to python, but maybe there is a way to mix Latex and
> unicode?
>
> Yes, the inputenc package from latex lets you use unicode.
> Try adding this to your script:
> plt.rc('text.latex', preamble='\usepackage[utf]{inputenc}')
>
> Note that this setting is not officially supported, whatever
> that means :)
>
> I also like the txfonts package:
> \usepackage[varg]{txfonts}
>
> which changes the default font to Times, including the text in
> mathematical expressions. It looks great.
Good tip. I also like \usapackage{fourier} to get the utopia fonts, which are
particularly useful since I'm always plotting concentrations and having a
upright mu ($\othermu$) is really nice.
-paul h.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users