aboutsummaryrefslogtreecommitdiffstats
path: root/examples/3dgraphs/surface.jl
blob: e19a00cc40709f4c70818b0ad45e6fe59d457f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# Original 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.writeEPSfile("surface")
# g.writePDFfile("surface")
# g.writeSVGfile("surface")

using PyX

g = graph.graphxyz(size=4, x2=nothing, y2=nothing)
plot(g, graph_data.file("examples/3dgraphs/surface.dat", x=1, y=2, z=3),
        [graph_style.surface()])
writeEPSfile(g, "surface")
writePDFfile(g, "surface")