fix various deprecation warnings
[PyX/mjg.git] / manual / graph3.py
blob43489a95fcafeec741556513dcbf9e41dca2fcff
1 from pyx import *
2 g = graph.graphxy(width=8, x=graph.axis.linear(min=-5, max=5),
3 y=graph.axis.logarithmic())
4 g.plot(graph.data.function("y(x)=exp(x)"))
5 g.writeEPSfile("graph3")