plotAdditionalAxis: Add a second plot axis with transformed label values

Description Usage Arguments Value Author(s) See Also

View source: R/plotAdditionalAxis.R

Description

This function adds a second axis additional labels to a plot. It uses the axis values of the opposite side and mathematically transforms these into the values added. This can be used for example to indicate the period and frequency of a periodic signal.

Usage

1
plotAdditionalAxis(side = 1, trans.fun, label = c(), ...)

Arguments

side

integer: which axis to use as a basis for the second one.

trans.fun

function: the transfer function to use between the two axis values.

label

character: labels of the axis.

...

further arguments to pass to the axis call.

Value

Nothing is returned.

Author(s)

Jannis v. Buttlar

See Also

axis


spectral.methods documentation built on May 29, 2017, 9:12 a.m.