|
From: Andre W. <wo...@us...> - 2004-10-19 08:02:40
|
Hi, On 18.10.04, Andrea Riciputi wrote: > c.insert(pyx.graph.axis.pathaxis(p, pyx.graph.axis.lin(min = 0, max = > 1.4, manualticks = myTicks))) > > Very simple example indeed, but look at the resulting eps file (I > attach to the email what I get) and especially to the 0.5 tick. It > should be a minor tick (as I defined it), but it's major one! > > I've no idea about where the bug could be, nevertheless I hope this can > be of any help. Sure it can. The idea is, that you can just add a few ticks to an automatically created ticks. If you want to disable automatically created ticks, you just need to set parter=None in the axis constructor. Unfortunately, as I've found out now by your example, that the manual set ticks do not win against ticks created by the parter as it is stated in the manual. The problem is, that merging of the ticks is the wrong operation here. I'll just try to correct that for the future. But beside that its the intended behavior. Might still be worth a discussion, but I think its a nice feature to be able to mix ticks which are set manually and which are created automatically. André -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript figures with Python & TeX (_/ \_)_/\_/ visit http://pyx.sourceforge.net/ |