Usage
plotyy(x1, y1, x2, y2, gridp = TRUE, box.col = "grey", type = "l", lwd = 1, lty = 1, xlab = "x", ylab = "y", main = "", col.y1 = "navy", col.y2 = "maroon", ...)
Arguments
x1, x2
x-coordinates for the curves
y1, y2
the y-values, with ordinates y1 left, y2 right.
gridp
logical; shall a grid be plotted.
box.col
color of surrounding box.
type
type of the curves, line or points (for both data).
lwd
line width (for both data).
lty
line type (for both data).
xlab, ylab
text below and on the left.
main
main title of the plot.
col.y1, col.y2
colors to be used for the lines or points.
...
additional plotting parameters.