fix cross-device link error
[PyX.git] / examples / graphs / lissajous.py
blobf44d65d33260e0eb36506940269f4676be428d7a
1 from math import pi
2 from pyx import *
4 g = graph.graphxy(width=8)
5 g.plot(graph.data.paramfunction("k", 0, 2*pi, "x, y = sin(2*k), cos(3*k)"))
6 g.writeEPSfile("lissajous")
7 g.writePDFfile("lissajous")
8 g.writeSVGfile("lissajous")