Title: Flashmail
Thanks, that's work well.
Regards.
C.
>I presume that you're only interested in the math formula, and not in >any other graphical functionality of MPL. You may use mathtext module >directly in that case. > >from matplotlib.mathtext import MathTextParser > >p = MathTextPar
I presume that you're only interested in the math formula, and not in
any other graphical functionality of MPL. You may use mathtext module
directly in that case.
from matplotlib.mathtext import MathTextParser
p = MathTextParser("bitmap")
filename, texstr = "test.png", r"$\alpha$"
p.to_png(filen
Indeed I would also use mpl to have png of formulas so as to put them in a
HTML page.
C.
>va="baseline" does not work?
>
>-JJ
>
>
>On Thu, Jan 15, 2009 at 3:05 AM, wrote:
>>>Dimension of a text in mpl is renderer-dependent in general.
>>>Each renderer has "get_text_width_height_descent" metho
va="baseline" does not work?
-JJ
On Thu, Jan 15, 2009 at 3:05 AM, wrote:
>>Dimension of a text in mpl is renderer-dependent in general.
>>Each renderer has "get_text_width_height_descent" method which returns
>>width, height, and descent of the given text.
>>If you're only interested in latex-
Title: Flashmail
>Dimension of a text in mpl is renderer-dependent in general. >Each renderer has "get_text_width_height_descent" method which returns >width, height, and descent of the given text. >If you're only interested in latex-rendered text, you may use the >get_text_width_height_descent
14 Jan 2009 13:24:40 -0500
>>De: "Jae-Joon Lee"
>>A: projet...@club-internet.fr
>>Sujet: Re: [Matplotlib-users] Vertical alignment of a text
>>Copie à: matplotlib-users@lists.sourceforge.net
>>
>>Take a look at
>>
>>http://matplotlib.
Take a look at
http://matplotlib.sourceforge.net/users/text_props.html
But I guess MPL's functionality is somewhat limited compared to PyX,
especially in multiline support.
-JJ
On Wed, Jan 14, 2009 at 1:13 PM, wrote:
> Hello,
> is there a similar functionnality to the one given by PyX here
Hello,
is there a similar functionnality to the one given by PyX here :
http://pyx.sourceforge.net/examples/text/valign.html ?
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your sto