tsideplot {Eplot} | R Documentation |
Create a plot of two series vertical axes on both left and right side.
tsideplot(series1, series2, main = "", return.to.default = T,
xaxis = NULL, col = "red", ...)
series1,series2 |
First and second series to be plotted. |
main |
main title of the plot, same as in |
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 |
... |
more graphical parameters can be given as arguments. |
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.
Called for its side effect.