some updates to the webpage
[PyX.git] / examples / axis / painter.py
blob701b0ee52e8fb9cdc258a425cd542d8063a05f4b
1 from pyx import *
3 mypainter = graph.axis.painter.regular(outerticklength=graph.axis.painter.ticklength.normal)
5 c = graph.axis.pathaxis(path.curve(0, 0, 3, 0, 1, 4, 4, 4),
6 graph.axis.linear(min=0, max=10, title="axis title", painter=mypainter))
7 c.writeEPSfile("painter")
8 c.writePDFfile("painter")