fix various deprecation warnings
[PyX/mjg.git] / manual / graph2.py
blobc0932b7e1c7365f69d3ff54446c92aa02d8709c1
1 from pyx import *
2 g = graph.graphxy(width=8)
3 g.plot(graph.data.file("graph.dat", x=1, y=2))
4 g.plot(graph.data.function("y(x)=x**2"))
5 g.writeEPSfile("graph2")