fix cross-device link error
[PyX.git] / examples / graphs / function.py
blob7a60138daf500b6a37ce298d3bb139eb3cb24f1a
1 from pyx import *
3 g = graph.graphxy(width=8)
4 g.plot(graph.data.function("y(x)=sin(x)/x", min=-15, max=15))
5 g.writeEPSfile("function")
6 g.writePDFfile("function")
7 g.writeSVGfile("function")