Hi Arthur,

On 08.03.06, Guest2 CERT wrote:
> To me it seems that the global font setting is overridden
> as soon as graph.axis.linear(...) is used.

Not really. It's just an effect of the default texter. It's using math
mode to typeset the values. (You may want to have a look into
pyx.graph.axis.texter to learn more about the great configurability.)

> Maybe I'm missing a way to change the font for this case?

There are two ways out here. You could properly alter the math mode
fonts as well. There are several options to do that, for example

    text.preamble(r"\usepackage{mathpple}")

Another option would be to set a texter, which does not use the math
mode. Then you need to take care of superscripts and so on yourself
(using boxes). Still, even those things could be done by just creating
a proper texter instance using the existing texter classes.

HTH,


André

-- 
by  _ _      _    Dr. André Wobst
   / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to