transPretty: Pretty Axis

View source: R/transPretty.R

transPrettyR Documentation

Pretty Axis

Description

Constructs information for making a nicely formatted numeric axis.

Usage

transPretty(x, hard = FALSE, labels = 11, style = "none",
  func = log, Ifunc = exp, ...)

Arguments

x

data defining the range to be plotted on the axis. Missing value are permitted, but ignored.

hard

logical, if TRUE, then use the minimum and maximum of x as the fixed range of the axis, otherwise find "nice" limits.

labels

either "Auto," which lets the function decide how many labels, the approximate number of labels, or the actual labels to use.

style

a character string indicating the style of the axis labels if they are not specifically listed in labels.

func

the forward transform function.

Ifunc

the backward (inverse) transform function.

...

additional arguments to func and Ifunc.

Value

Information about the axis lables.

See Also

transPlot


USGS-R/smwrGraphs documentation built on Oct. 11, 2022, 6:11 a.m.