update mkipynb to notebook version 4
[PyX.git] / manual / graph.py
blob6d69d0185667cd56fa2a3f48acea8fbb62577512
1 from pyx import *
2 g = graph.graphxy(width=8)
3 g.plot(graph.data.file("graph.dat", x=1, y=2))
4 g.writePDFfile()