tsideplot {Eplot}R Documentation

tsideplot

Description

Create a plot of two series vertical axes on both left and right side.

Usage

tsideplot(series1, series2, main = "", return.to.default = T,
  xaxis = NULL, col = "red", ...)

Arguments

series1,series2

First and second series to be plotted.

main

main title of the plot, same as in plot.default.

return.to.default

for reverting back to previous par settings.

xaxis

Optional, the xaxis to be used, see details.

col

Color of the second series, same as in par.

...

more graphical parameters can be given as arguments.

Details

Create a plot of two series with y-axes on both left and right side. Set return.to.default=TRUE to keep the new settings, otherwise default to revert to previous par values. xaxis parameter is the optional xaxis, if not provided then if(is.null(xaxis)) {xaxis= c(1:length(series1))} is used.

Value

Called for its side effect.

See Also

par, plot.default.


[Package Eplot version 1.0 Index]