canvas.insert now returns canvas wrapping item if attrs are given
[PyX.git] / examples / 3dgraphs / surface.py
blob4b105b2b711ba0ad83d3c97b29513669214a20e5
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.doplot()
7 g.writeEPSfile("surface")
8 g.writePDFfile("surface")