Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 9b3ef98d82282343cfac7f840aa5ab34 > files > 243

PyX-0.11.1-1.fc15.i686.rpm

#!/usr/bin/env python
from pyx import *

g = graph.graphxyz(size=4, x2=None, y2=None)
g.plot(graph.data.file("surface.dat", x=1, y=2, z=3), [graph.style.surface()])
g.doplot()
g.writeEPSfile("surface")
g.writePDFfile("surface")