Re: [Matplotlib-users] tex problem

2006-11-01 Thread humufr
Le Mardi 31 Octobre 2006 23:47, Robert Kern a écrit : > [EMAIL PROTECTED] wrote: > > I tried: > > > > label='$\textrm{test}_2$ > > xlabel(r label) > > xlabel(r+label) > > > > etc but it not working (like I expected). So I would like to know if > > there are a way to precise that the text is a raw s

Re: [Matplotlib-users] tex problem

2006-10-31 Thread Robert Kern
[EMAIL PROTECTED] wrote: > I tried: > > label='$\textrm{test}_2$ > xlabel(r label) > xlabel(r+label) > > etc but it not working (like I expected). So I would like to know if there > are > a way to precise that the text is a raw string by another thing that the r > character just before the str

Re: [Matplotlib-users] tex problem

2006-10-31 Thread humufr
Le Mardi 31 Octobre 2006 23:14, Eric Firing a écrit : > [EMAIL PROTECTED] wrote: > > Hi, > > > > I have different questions to use tex with matplotlib. > > > > The first one: > > > > If I'm doing: > > > > rc('text', usetex=True) > > xlabel('$\textrm{toto}$') # bad > > xlabel(r'$\textrm{toto}$') #

Re: [Matplotlib-users] tex problem

2006-10-31 Thread Eric Firing
[EMAIL PROTECTED] wrote: > Hi, > > I have different questions to use tex with matplotlib. > > The first one: > > If I'm doing: > > rc('text', usetex=True) > xlabel('$\textrm{toto}$') # bad > xlabel(r'$\textrm{toto}$') # ok > > The results are not the same and I don't understand why. > > and

[Matplotlib-users] tex problem

2006-10-31 Thread humufr
Hi, I have different questions to use tex with matplotlib. The first one: If I'm doing: rc('text', usetex=True) xlabel('$\textrm{toto}$') # bad xlabel(r'$\textrm{toto}$') # ok The results are not the same and I don't understand why. and for: xlabel('$\textit{toto}$') #bad xlabel(r'$\textit