From: Robert P. <rp...@po...> - 2007-05-02 18:21:37
|
Hi all, On Apr 27, 2007, at 10:45 AM, William Henney wrote: > Hi > > On 4/27/07, Gert Ingold <ger...@ph...> wrote: >> The reason for this behavior is that the labels are set in >> mathmode. If >> you do not own Helvetica math fonts (as is the case for most of >> us, I guess) >> you have to instruct PyX not to typeset labels in mathmode by >> specifying >> the axis texter as follows: >> >> texter=graph.axis.texter.decimal(labelattrs=[]) >> > > That is sort of OK for the example he gives, but if the axis range > extends to negative values then the minus signs will not come out > right.... I tried Gert's solution with an axis ranging over negative as well as positive values, and the minus signs look just fine. Bob |