doplot is not needed anymore (due to the layers feature)
[PyX.git] / examples / 3dgraphs / surface.py
blob23e94b5c451b5feeeb3ea9c6b72a6832d75bb5e3
1 #!/usr/bin/env python
2 from pyx import *
4 g = graph.graphxyz(size=4, x2=None, y2=None)
5 g.plot(graph.data.file("surface.dat", x=1, y=2, z=3), [graph.style.surface()])
6 g.writeEPSfile("surface")
7 g.writePDFfile("surface")