update upload data
[PyX.git] / examples / graphs / function.py
blob66a36ec76202dec17a6089a025ba9bfaf905d4e1
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")