chmod
[PyX/mjg.git] / manual / graph1.py
blob788a7173d88d2705ce1d03930ab7a6253a1d63a5
1 #!/usr/bin/env python
2 import sys
3 sys.path[:0] = [".."]
5 from pyx import *
6 from pyx.graph import *
8 c = canvas.canvas()
9 g = c.insert(graphxy(width=10))
10 g.plot(data("graph1.dat", x=1, y=2))
11 c.writetofile("graph1")