prevent double call of _cleanup, which harms usefiles (and is a bad idea in general)
[PyX.git] / examples / splitgraphs / splitatvalue.py
blob4150bb23516624d192197b21c92532e65c2e428a
1 from pyx import *
3 pf = graph.data.paramfunction
5 g = graph.graphxy(width=8, x=graph.axis.split())
6 g.plot(pf("k", -1, 1,
7 "x, y = splitatvalue(k, -0.9, 0.9), k**100",
8 points=1000))
9 g.writeEPSfile("splitatvalue")
10 g.writePDFfile("splitatvalue")
11 g.writeSVGfile("splitatvalue")