further fixes to the drawing and clipping of the gradient style
[PyX.git] / examples / splitgraphs / minimal.py
blobcc74a5ebb7e290f473aa6face66f1eda95ff2391
1 from pyx import *
3 g = graph.graphxy(width=8, x=graph.axis.split())
4 g.plot(graph.data.points([((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")