Resolution of ticks (see resolution_t method) is always the same or
lower than the resolution of the argument and lower resolutions have to be
multiples of the resolution of the argument. This way, the ticks are never
placed, for example, every 5 years for indices with a 2-year resolution.
For years, the tics are placed at powers of 10 times 1, 2, or 5.
For quarters, ticks are placed every quarter, every second quarter (1st and 3rd),
or on first the quarters of years selected by separate procedure for years.
For months, ticks are placed every 1, 2, 3, 4, 6 months or on January
of years selected by the separate procedure for years.
For weeks, ticks are placed every 1, 2, 4, 13, 26 weeks or on the first weeks
of years selected by the separate procedure for years.
For dates, depending on the number of observations, ticks can be placed:
every day,
every Monday, Wednesday, and Friday,
every Monday and Thursday,
every Monday,
every 1st and 16th day of a month,
on 1st days of months selected by the separate procedure for months.
For date-time and time of day, the placement of ticks depends on the resolution
of indices. When all indices are at full hours, ticks are placed
at full hours only. Similar approach is taken for minutes and seconds. Divisors
of 24 are used for hours and divisors of 60 for minutes and seconds.
For date-time indices spanning more than a couple of days, ticks are placed
on midnights of days selected by the separate procedure for dates.
Due to the design of the algorithm, in some corner cases (esp. for time of
day and weeks) the number of intervals might differ significantly from
the expected number n.