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

# Original Python:
# from pyx import *
# 
# g = graph.graphxy(width=8)
# g.plot(graph.data.file("minimal.dat", x=1, y=2))
# g.writeEPSfile("minimal")
# g.writePDFfile("minimal")
# g.writeSVGfile("minimal")

using PyX

g = graph.graphxy(width=8)
plot(g, graph_data.file("examples/graphs/minimal.dat", x=1, y=2))
writeEPSfile(g, "minimal")
writePDFfile(g, "minimal")