ruta_axis: A Neat Way To Show Axis (stable)

View source: R/plot_helpers.R

ruta_axisR Documentation

A Neat Way To Show Axis (stable)

Description

A Neat Way To Show Axis

(stable)

Usage

ruta_axis(
  side,
  at,
  tcl = -0.3,
  labels = at,
  las = 1,
  cex.axis = rave_cex.axis,
  cex.lab = rave_cex.lab,
  mgpy = c(3, 0.6, 0),
  mgpx = c(3, 0.75, 0),
  ...
)

Arguments

side

1 to 4: bottom, left, up, right. See axis

at, tcl, labels, las, mgpy, mgpx, ...

passed to axis

cex.axis

tick size

cex.lab

label size

Examples

## Not run: 
# create a blank plot with x from 0 to 10 and y from 1 to 5
plot_clean(0:10, 1:5, xlab = 'X')
ruta_axis(side = 1, at = 1:8)

## End(Not run)

dipterix/rutabaga documentation built on June 25, 2022, 2:38 p.m.