In base R, you can suppress the x-axis with the initial plot
call (with xaxt='n'
), and then use tcl
to control tick length (see ?par
) with two axis(1, ...)
calls.
plot(1:10, xaxt='n', ylab='', las=1)
axis(1, at=1:10, tcl=-0.8)
axis(1, at=seq(0, 11, 0.2), labels=NA)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…