3 g
= graph
.graphxy(width
=14, height
=6, x
=graph
.axis
.bar())
4 g
.plot(graph
.data
.file("minimal.dat", xname
=0, y
=2, stack
=3),
7 graph
.style
.stackedbarpos("stack"),
8 graph
.style
.bar([color
.rgb
.green
]),
9 graph
.style
.text("stack")])
10 g
.writeEPSfile("stacked")
11 g
.writePDFfile("stacked")
12 g
.writeSVGfile("stacked")