add example documentation to the split axes
[PyX/mjg.git] / examples / splitgraphs / minimal.py
blob01d3c7de34ad706c29794c8c1d5856356bdfd035
1 from pyx import *
3 g = graph.graphxy(width=8, x=graph.axis.split())
4 g.plot(graph.data.list([((0, 0.1), 0.1),
5 ((0, 0.5), 0.2),
6 ((0, 0.9), 0.3),
7 ((1, 101), 0.7),
8 ((1, 105), 0.8),
9 ((1, 109), 0.9)], x=1, y=2))
10 g.writeEPSfile("minimal")
11 g.writePDFfile("minimal")