panel.axis.right: Right-justify right-axis tick labels.

panel.axis.rightR Documentation

Right-justify right-axis tick labels.

Description

panel.axis.right is almost identical to panel.axis. axis.RightAdjustRight is almost identical to axis.default. The only difference is that these functions right-justify right-axis tick labels.

Usage

panel.axis.right(side = c("bottom", "left", "top", "right"),
                 at = pretty(scale.range),
                 labels = TRUE, draw.labels = TRUE,
                 check.overlap = FALSE, outside = FALSE, ticks = TRUE,
                 half = !outside,
                 which.half = switch(side, bottom = "lower",
                                     left = "upper", top = "upper",
                                     right = "lower"),
                 tck = as.numeric(ticks),
                 rot = if (is.logical(labels)) 0 else c(90, 0),
                 text.col = axis.text$col, text.alpha = axis.text$alpha,
                 text.cex = axis.text$cex, text.font = axis.text$font,
                 text.fontfamily = axis.text$fontfamily,
                 text.fontface = axis.text$fontface,
                 text.lineheight = axis.text$lineheight,
                 line.col = axis.line$col, line.lty = axis.line$lty,
                 line.lwd = axis.line$lwd, line.alpha = axis.line$alpha)

axis.RightAdjustRight(side = c("top", "bottom", "left", "right"),
                      scales, components, as.table,
                      labels = c("default", "yes", "no"),
                      ticks = c("default", "yes", "no"),
                      ...,
                      
                      prefix = lattice.lattice.getStatus("current.prefix"))

Arguments

side, at, labels, draw.labels, check.overlap, outside, ticks, half, which.half

See panel.axis and axis.default

tck, rot, text.col, text.alpha, text.cex, text.font, text.fontfamily

See panel.axis and axis.default

text.fontface, text.lineheight, line.col, line.lty, line.lwd, line.alpha

See panel.axis and axis.default

scales, components, as.table, ..., prefix

See axis.default

Author(s)

Deepayan Sarkar Deepayan.Sarkar@R-project.org wrote panel.axis and axis.default. David Winsemius wrote the modification panel.axis.right. Richard Heiberger rmh@temple.edu wrote the modification axis.RightAdjustRight. Richard Heiberger is maintaining this distribution of both functions.

See Also

panel.axis


HH documentation built on Aug. 9, 2022, 5:08 p.m.

Related to panel.axis.right in HH...