I've had a busy time the past week, so this just comes now,
(and as "top-reply", unusually for me, and this list in general..).
I've been the one adding axTicks() to R a long time ago,
and also axisTicks(); these are related but really have
different goals and in particular,
- axTicks () i
On 6/22/25 10:13, Duncan Murdoch wrote:
On 2025-06-22 8:15 a.m., Spencer Graves wrote:
If the range fed to axTicks is too narrow, the output is only 2 points;
shouldn't it degenerate to using "pretty" in such cases?
EXAMPLE:
ylims2 <- c(0.2, 0.8)
get_axp <- function(x) 10^c(ceiling(x[1]),
If the range fed to axTicks is too narrow, the output is only 2 points;
shouldn't it degenerate to using "pretty" in such cases?
EXAMPLE:
ylims2 <- c(0.2, 0.8)
get_axp <- function(x) 10^c(ceiling(x[1]), floor(x[2]))
## mimic par("yaxs") == "i"
usr.i2 <- log10(ylims2)
(aT.i2 <- axTicks(side =
On 2025-06-22 8:15 a.m., Spencer Graves wrote:
If the range fed to axTicks is too narrow, the output is only 2 points;
shouldn't it degenerate to using "pretty" in such cases?
EXAMPLE:
ylims2 <- c(0.2, 0.8)
get_axp <- function(x) 10^c(ceiling(x[1]), floor(x[2]))
## mimic par("yaxs") == "i"
us