[Matplotlib-users] LaTeX fonts

2007-08-07 Thread Johan Ekh
Hi all, I'm new to Python in general and Matplotlib in particular. I'm trying to create publication quality plots for inclusion in LaTeX papers and presentations and have some problems to get the fonts right. My matplotlibrc contains the following lines font.family: serif font.serif

Re: [Matplotlib-users] LaTeX fonts

2007-08-07 Thread Darren Dale
On Tuesday 07 August 2007 07:37:04 am Johan Ekh wrote: Hi all, I'm new to Python in general and Matplotlib in particular. I'm trying to create publication quality plots for inclusion in LaTeX papers and presentations and have some problems to get the fonts right. My matplotlibrc contains

Re: [Matplotlib-users] LaTeX fonts

2007-08-07 Thread Ryan Krauss
This is admittedly a stupid question, but just to be sure, I don't see usetex: True in your post. Ryan On 8/7/07, Johan Ekh [EMAIL PROTECTED] wrote: Hi all, I'm new to Python in general and Matplotlib in particular. I'm trying to create publication quality plots for inclusion in LaTeX

Re: [Matplotlib-users] LaTeX fonts

2007-08-07 Thread Darren Dale
On Tuesday 07 August 2007 11:37:45 am Johan Ekh wrote: OK, here is the LaTeX example from the cookbook, i.e. I executed the following: --- x --- import pylab from pylab import arange,pi,sin,cos,sqrt fig_width_pt = 246.0 # Get this from LaTeX using \showthe\columnwidth inches_per_pt =

Re: [Matplotlib-users] LaTeX fonts

2007-08-07 Thread Johan Ekh
Well, it looks OK but the fonts are still not the same as the ones used in LaTeX (at least not in my installation). Please look at the attached picture. It is another example but is shows the difference between the fonts. Best seen if you focus on the digit 6 in the graph (the upper digit) and in

Re: [Matplotlib-users] LaTeX fonts

2007-08-07 Thread Darren Dale
On Tuesday 07 August 2007 12:17:56 pm Johan Ekh wrote: Well, it looks OK but the fonts are still not the same as the ones used in LaTeX (at least not in my installation). Please look at the attached picture. It is another example but is shows the difference between the fonts. Best seen if you