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
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
Hello,
I'm a french user and I'm trying to put an 'é' into a pylab title.
My locales and fully utf-8 and the code is the following under ipthon:
import pylab
a=é
pylab.plot([1])
pylab.title(a)
raises the error :
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0:
ordinal
Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works.
But is always fails using matplotlib.rc('text',usetex=True)...side effect...
Xavier
Hello,
I'm a french user and I'm trying to put an 'é' into a pylab title.
My locales and fully utf-8 and the code is the following
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
The build would be nice given the added features in interactivity in
matplotlib now. Would it be difficult to make a Windows XP build as well?
My current build seems to work--but others might also want one with the
latest features.
Thanks,
William
On 8/6/07, Charlie Moad [EMAIL PROTECTED]
Xavier Gnata [EMAIL PROTECTED]
writes:
I'm a french user and I'm trying to put an 'é' into a pylab title.
Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works.
But is always fails using matplotlib.rc('text',usetex=True)
As a workaround, does \'e (as in rf\'evrier)
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 =
Jouni K. Seppänen wrote:
Xavier Gnata [EMAIL PROTECTED]
writes:
I'm a french user and I'm trying to put an 'é' into a pylab title.
Ok it is a bug because matplotlib.rc('text',usetex=False) and then it works.
But is always fails using matplotlib.rc('text',usetex=True)
As
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
Xavier Gnata wrote:
Hello,
I'm a french user and I'm trying to put an 'é' into a pylab title.
My locales and fully utf-8 and the code is the following under ipthon:
import pylab
a=é
pylab.plot([1])
pylab.title(a)
raises the error :
UnicodeDecodeError: 'ascii' codec can't decode byte
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
Hello,
I'm a french user and I'm trying to put an 'é' into a pylab title.
My locales and fully utf-8 and the code is the following under ipthon:
import pylab
a=é
pylab.plot([1])
pylab.title(a)
raises the error :
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0:
Hi,
I'm a TkAgg user because it is the only backend which is usable on my box.
This only pb if that this backend is not UTF8 compatible :(
GtkAgg looks even better but when I tried plot([1,2]) I'm only get a
gray window with nothing on it.
No plot. No buttons.
I have no time for now to try to
14 matches
Mail list logo