component_axis: lattice arrow style axis

View source: R/component_axis.R

component_axisR Documentation

lattice arrow style axis

Description

lattice arrow style axis

Usage

component_axis(
  ticks,
  labels = TRUE,
  origin = 0,
  tck = 0.4,
  angle = 0,
  type = c("xaxis", "yaxis")[1],
  title = TRUE
)

Arguments

ticks

numeric vector

labels

boolean or character vector with the same length as ticks. If labels = FALSE, no lables will be displayed.

origin

begin point of axis

tck

tck length in the unit of lines

angle

axis text angle

type

one of "xaxis" and "yaxis"


kongdd/latticeGrob documentation built on March 30, 2024, 3:35 a.m.