I want to remove labels and axis from X axis, however adding new ticks.
plot(1:10, ylab = "")
at1 <- seq(1, 10, 0.1)
axis(side = 1, at = at1, labels = FALSE)
I could not get rid of y labels.
see ?par
You need the xaxt
argument
plot(1:10, ylab = "", xaxt='n')