remove none-existing reference
[PyX.git] / examples / graphs / points.py
blob93ea910bbab0ca9bb799b09779de0289c2adb0a6
1 # suggested by Chris Spencer
3 from pyx import *
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(list(range(10)), list(range(10)))), x=1, y=2))
10 g.writeEPSfile("points")
11 g.writePDFfile("points")