Hello,

I'm about to publish a paper and I have a little modifications to make to my great PyX graphs. I have to remove the top axis (which is not graduated and serves no purpose) of all my graphs.

Here is the code at the moment:


from pyx import *

text.set(mode="latex")

mynestedbaraxis = graph.axis.bar(defaultsubaxis=graph.axis.bar(dist=0))

g = graph.graphxy(width=8, x=mynestedbaraxis,
    y=graph.axis.lin (min=0, max=60, title="Number of SAGE tags"),
    y2=graph.axis.lin(min=0, max=3500000, title="Number of copies/$\mu$g of total RNA"))

g.plot([graph.data.list([["GDX", 0], ["DHT", 53]], xname=1, y=2),
        graph.data.list([["GDX", 3324927], ["DHT", 2738075]], xname=1, y2=2)],
       [graph.style.barpos(fromvalue=0, subnames = ["SAGE", "Q\_RT-PCR"]), graph.style.bar(barattrs=[ color.palette.ReverseGray])])

g.text(g.width/2, g.height + 0.5, "Acyl-Coenzyme A dehydrogenase very long chain",
       [text.halign.center, text.valign.bottom])

g.writeEPSfile("acadvl")
g.writePDFfile("acadvl")


Thanks,

Carl