Hi list,
I'd like to have a bar-graph which has a line for y=0 in the middle, and
bars above and under the line. However, a small test for this
functionality looks totally wrong. What gives?
from pyx import *
g = graph.graphxy(width=8, x=graph.axis.bar())
g.plot(graph.data.list([(0,-2), (1, -3), (2, 5), (3, -4)], xname=0, y=2),
[graph.style.bar()])
g.writePDFfile("bar")
Markus
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user