A wrapper function for axis with three changes.

1. labels = FALSE is now the default. 2. tck has been added as an argument, which is used to specify the size of the tick mark. 3. minor has been added as an argument. Used to add minor (i.e., smaller) tickmarks equally between the first axis.

axis_blank(
  side,
  at = NULL,
  labels = FALSE,
  tick = TRUE,
  line = NA,
  pos = NA,
  outer = FALSE,
  font = NA,
  lty = "solid",
  lwd = 1,
  lwd.ticks = lwd,
  col = NULL,
  col.ticks = NULL,
  hadj = NA,
  padj = NA,
  gap.axis = NA,
  ...,
  tck = -0.02,
  minor = TRUE
)

Arguments

Examples

if (FALSE) {
   blank(
     xlim = c(0,50),
     ylim = c(0,100),
     bty ="l"
   )
   
   axis_blank(1, at = seq(0,50,10))
   axis_blank(2, at = seq(0,100,20))
   
}