On 09/14/2011 05:48 PM, Benjamin Root wrote:


On Wed, Sep 14, 2011 at 4:34 PM, CAB <cabr...@yahoo.com <mailto:cabr...@yahoo.com>> wrote:


    But now, let's say I want to italicize only the 'f' and 'x'.  I
    can't find any easy way to do that while retaining the Arial font.

    And no, I don't want to use TeX.  Target users' computers might
    not have it.


That's fine, that's why matplotlib imitates TeX with mathtext...


    I've tried using mathtext, but that uses one of mathtext's fonts,
    not mine (computer modern, etc., or sansserif, etc.)


I am sure there must be some way to change the font, but Arial might not be supported for this... haven't tried though.

Mathtext only works with particular math fonts -- in order to do math layout, extra metrics are required to be in the font that aren't in most standard fonts such as Arial.

We need some sort of rich text support in matplotlib (such as HTML-like or something), but it doesn't currently exist.

Mike

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to