display shorter text on examples page
[PyX/mjg.git] / manual / graph3.py
blobafa819ba5acdaf63657c65853781ddb52c91b836
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")
6 g.writePDFfile("graph3")