Ok, I think I have what I want now:
______________________________________________
from pyx import *

g = graph.graphxy(width=20,
    x=graph.axis.lin(min=-15, max=15, title="SAGE"),
    x2=None,
    y=graph.axis.lin(min=-28, max=28, title="RT-PCR"),
    y2=None
)

#g.plot(graph.data.file("explevels.dat", x=1, y=2))
g.plot(graph.data.file("explevels.dat", x=1, y=2, text=3), [ graph.style.symbol(), graph.style.text()])

g.writeEPSfile("minimal")
g.writePDFfile("minimal")
______________________________________________

To make it perfect, could I add the "y=x" function to this graph?

Thanks again, you'll be in my PhD acknowledgements ;)

carl

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to