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

# Original Python:

#   from pyx import *

#   g = graph.graphxy(width=8, x=graph.axis.bar())
#   g.plot(graph.data.file("minimal.dat", xname=0, y=2), [graph.style.bar()])
#   g.writeEPSfile("minimal")
#   g.writePDFfile("minimal")
#   g.writeSVGfile("minimal")

g = graph.graphxy(width=8, x=graph_axis.bar())
plot(g, graph_data.file("examples/bargraphs/minimal.dat", xname=0, y=2), [graph_style.bar()])
writeEPSfile(g, "bar_minimal")
writePDFfile(g, "bar_minimal")