fixed a raw string
[PyX/mjg.git] / examples / bargraphs / compare.py
blobb5ff247fff8620d8ff0979dafd4caa3cd91d3bba
1 from pyx import *
3 g = graph.graphxy(width=8, x=graph.axis.nestedbar())
4 g.plot([graph.data.file("minimal.dat", xname="$0, 0", y=2),
5 graph.data.file("minimal.dat", xname="$0, 1", y=3)],
6 [graph.style.bar()])
7 g.writeEPSfile("compare")
8 g.writePDFfile("compare")