On Mon, 1 May 2006, Diederik Huys apparently wrote: 
> BTW I already have multiple axes, I just don't know how to 
> "repartition" one of them (by hand, as I understand now


The 'ticks' class allows you to make whatever ticks you 
want:
http://pyx.sourceforge.net/manual/module-graph.axis.tick.html
You could make a list of ticks (untested):
ticklist = []
for n in range(2,6):
        ticklist.append(graph.axis.tick.tick((1,n),label="1/"+str(n)))
to get labelled ticks of 1/2, 1/3, 1/4, 1/5.
You can then provide this list as manualticks to your axis:
http://pyx.sourceforge.net/manual/module-graph.axis.axis.html
(Set the parter to None, I think, for your purposes.)

hth,
Alan Isaac






-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to