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
=list(range(10)), y
=list(range(10))))
8 # or provide one list containing the whole points
9 g
.plot(graph
.data
.points(list(zip(range(10), range(10))), x
=1, y
=2))
10 g
.writeEPSfile("points")
11 g
.writePDFfile("points")
12 g
.writeSVGfile("points")