add metapost dir to the packages list
[PyX.git] / examples / axis / painter.py
blobaaaea389d94a5712b66ec3dd97b60b2aaa616b99
1 from pyx import *
3 mypainter = graph.axis.painter.regular(outerticklength=graph.axis.painter.ticklength.normal,
4 basepathattrs=[style.linewidth.THick, deco.earrow.large])
6 c = graph.axis.pathaxis(path.curve(0, 0, 3, 0, 1, 4, 4, 4),
7 graph.axis.linear(min=0, max=9, title="axis title", painter=mypainter))
8 c.writeEPSfile("painter")
9 c.writePDFfile("painter")