On 3/14/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
[cut]
Furthermore I have noted that with "usetex" ticks label are rendered
differently if they are explicitly set with set_[xy]ticklabels() or
not. Compare the ytick labels (automatic) and xtick labels (manually
set) in the attached plot.
On 3/13/07, John Travers <[EMAIL PROTECTED]> wrote:
> On 13/03/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
[cut]
> > However the only font I know that has the superscript with the minus
> > sign is "DejaVu Sans". Anyone know a serif font (or also another sans
> > font) with all those symbols
On 3/13/07, John Hunter <[EMAIL PROTECTED]> wrote:
> On 3/13/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
>
> > 1. Use the unicode string: xlabel(u'Wavelength [μm]')
> > 2. Use mathtext: xlabel(r'$\rm{Wavelength [\mu m]}$')
> > 3. Use usetex: rc(text, usetex=True), xlabel(r'Wavelength [$\rm{\
On 3/13/07, Edin Salkovic <[EMAIL PROTECTED]> wrote:
> Hi Antonino,
>
> If your using the version 0.90 (or SVN) of matplotlib you can also use
> mathtext2.
>
> To enable it, put these lines in your matplotlibrc file:
> mathtext.mathtext2 : True
> mathtext.nonascii : FreeSerif.ttf # Or any unicode
On 3/13/07, John Travers <[EMAIL PROTECTED]> wrote:
> On 13/03/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
> > 1. This method works ok as far as I choose a unicode font with the
> > greek letters, for example:
> >
> > rcParams['font.serif'] = 'DejaVu Serif'
> >
> > However with unicode str
Hi Antonino,
If your using the version 0.90 (or SVN) of matplotlib you can also use
mathtext2.
To enable it, put these lines in your matplotlibrc file:
mathtext.mathtext2 : True
mathtext.nonascii : FreeSerif.ttf # Or any unicode font
or, you can set it for your particular script:
rcParams['math
On 13/03/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
> On 3/13/07, John Travers <[EMAIL PROTECTED]> wrote:
> > On 13/03/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
> > > 1. This method works ok as far as I choose a unicode font with the
> > > greek letters, for example:
> > >
> > >
On 3/13/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
> 1. Use the unicode string: xlabel(u'Wavelength [μm]')
> 2. Use mathtext: xlabel(r'$\rm{Wavelength [\mu m]}$')
> 3. Use usetex: rc(text, usetex=True), xlabel(r'Wavelength [$\rm{\mu m}$]')
>
> I have some problem with each method (any hint
On 13/03/07, Antonino Ingargiola <[EMAIL PROTECTED]> wrote:
> 1. This method works ok as far as I choose a unicode font with the
> greek letters, for example:
>
> rcParams['font.serif'] = 'DejaVu Serif'
>
> However with unicode strings I'm not able to do exponent and deponent
> text (i.e cm^-1)
Sorry for the previous mail I've hit Send for error before the mail
was complete.
Here it is the complete mail:
Hi to the list,
I'm using matplotlib to generate graphs during my master thesis. I
want to thank all the developer for providing such flexible tool.
In some plots I have to put greek
Hi to the list,
I'm using matplotlib to generate graphs during my master thesis. I
want to thank all the developer for providing such flexible tool.
In some plots I have to put greek letters (or sometimes small fomulas)
as axis label. I've found three way to accomplish this:
1. Use the unicode s
11 matches
Mail list logo