1 # suggested by Chris Spencer
5 g
= graph
.graphxy(width
=8)
6 # either provide lists of the individual coordinates
7 g
.plot(graph
.data
.values(x
=range(10), y
=range(10)))
8 # or provide one list containing the whole points
9 g
.plot(graph
.data
.points(zip(range(10), range(10)), x
=1, y
=2))
10 g
.writeEPSfile("points")
11 g
.writePDFfile("points")