|
From: Hans-Bernhard B. <HBB...@t-...> - 2008-03-04 00:09:52
|
Thomas Sefzick wrote: > ...it's not so easy to repair... Nor was it easy to get working to the extent it does. Calendars are a major pain in the lower back. Roughly said, the automatic routines handling time/date tic placement are best left to their own devices. Forcing your own tic interval on them may work --- but it's very hard to make any guarantees there. > BUT 'time_tic_just' is called for each tic, adjusting the tic to a > grid based on 'timelevel[axis]' ... and just in case somebody wonders about that: yes, it is necessary. That's what you get for pretending that a month were an equidistant tick interval that can be sequenced, miniticked, and so on. Well, it's not, and so all major ticks have to be adjusted to actually fit on the scale. I think the proper patch would involve a routine that works much like quantize_time_tics(), but leaves alone the input 'tics'. |