If I read the documentation correctly I should use a texter to define
fonts for axis labels. However, graph.bar.axis doesn't have a texter, so
how can I change fonts?

In the case of the minimal example

from pyx import *

inserting these lines
text.set(mode="latex")
text.preamble(r"\usepackage{helvet}"}

g = graph.graphxy(width=8, x=graph.axis.bar())
g.plot(graph.data.file("minimal.dat", xname=0, y=2),
[graph.style.bar()]) g.writeEPSfile("minimal")
g.writePDFfile("minimal")

has no effect whatsoever on the final output.

?

T
-- 
Trevor Wiens


_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to