From: Simson G. <si...@ee...> - 2005-09-02 05:53:52
|
Two things. 1. I'm trying to do a stacked bargraph (I have posted the code that does this.) Unfortunately, most of my bars have heights of 0-20 units, but one has a height of 30,000 units. So I would like to have a split in the Y axis between 5,000 and 29,000 units. I can't figure out how to do this from the examples. A friend gave me this code fragment which once worked: gr = graph.graphxy(width=15, x=graph.axis.bar (title="Quanitity of drives where a block occured"), y=graph.axis.split ([graph.axis.linear(min=0, max=max2+1), graph.axis.linear(min=max2+10)], splitlist=[0.8], title="Gigabytes") ) But this code doesn't work under 0.8.1; I get the error that "splitlist" is an unknown argument. 2. Anything in PyX for doing a 3D bargraph? I can't find anything. -Simson |