Description Usage Arguments Value Author(s) See Also
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.
1 | plotAdditionalAxis(side = 1, trans.fun, label = c(), ...)
|
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. |
Nothing is returned.
Jannis v. Buttlar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.