Hi, I just started using pyx. My problem is that I get an error when all
data values are 0. How can i draw a graph that can have all values = 0 ?
You can try this:
***************
from pyx import *
d = graph.data.list([(1, 0),
(2, 0),
(3, 0),
(4, 0),
(5, 0)], x=1, y=2)
g = graph.graphxy(width=8 )
g.plot(d, [graph.style.histogram()])
g.writeEPSfile("histogram")
g.writePDFfile("histogram")
***************
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user