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:
> > >
> > >   rcParams['font.serif'] = 'DejaVu Serif'
> > >
> > > However with unicode strings I'm not able to do exponent and deponent
> > > text (i.e cm^-1)
> >
> > You should be able to do super/subscripts in unicode. For example a
> > superscript '-' is unicode  207B. If you haven't already found it you
> > should check out:
> > http://unicode.org/charts/symbols.html
> > for more codes. However, the font you choose must support the unicode
> > (most only support a certain subset).
>
> Many thanks. Now I can do superscript and subscript (using GuCharMap I
> can search in symbol description so it's easy to find them).
>
> 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?

DejaVu Serif appears to, and both FreeSans and FreeSerif from freefont
project do.
John

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to