Re: [Matplotlib-users] Matplotlib in Latex documents

2012-04-25 Thread Peter Würtz
On 04/25/2012 04:06 PM, Alejandro Weinstein wrote: > I use the following setup (under Ubuntu, in case that matters): > > params = {'backend': 'Agg', >'ps.usedistiller' : 'xpdf', >'text.usetex' : True, >'font.family': 'serif', >'font.serif' : ['Times']

Re: [Matplotlib-users] Matplotlib in Latex documents

2012-04-25 Thread Alejandro Weinstein
On Wed, Apr 25, 2012 at 6:54 AM, Peter Würtz wrote: > I'm having trouble when creating plots for use in latex documents. I use the following setup (under Ubuntu, in case that matters): params = {'backend': 'Agg', 'ps.usedistiller' : 'xpdf', 'text.usetex' : True, 'fo

[Matplotlib-users] Matplotlib in Latex documents

2012-04-25 Thread Peter Würtz
Hi, I'm having trouble when creating plots for use in latex documents. I tried several methods, but the fonts are always inconsistent in size and weight. I thought the "text.usetex" option to provide a result closest to the latex document I want to include the plots in, but this minimal example s