Usage
plotNLines(x.data = matrix(1:dim(y.data)[2], ncol = dim(y.data)[2], nrow = dim(y.data)[1], byrow = TRUE), y.data, option = c("normal", "diff.scales", "stacked")[1], n.lines.max = 30, grid = FALSE, scale = 1, plot.scale = TRUE, function.add = function() (1), bgc = "white", pch.axlink = 1, type = "l", colors = c(), xlim = c(), ylim = c(), xlab = c(), ylab = c(), labels = c(), lty = 1, title, yaxt = "s", ...)
Arguments
y.data
numeric matrix/data frame: y-values with one series of
values per row
option
character: which type of plot to use (see details)
n.lines.max
integer: only for 'stacked plots': how many lines to draw per panel
grid
logical: only for 'stacked plots': whether to draw a primitive grid
scale
numeric: only for 'stacked plots': scale factor to scale the y scale of the stacked plots
plot.scale
TRUE: only for 'stacked plots': whether to add a small scale showing the y axis scale
function.add
function: only for 'stacked plots': function to call after plotting the individual panels
bgc
color: color of the plot background
pch.axlink
integer: only for 'stacked plots': pch value for the symbol that links each line to its x-axis
type
standard plotting parameter
colors
colors to use for the different series
xlim
standard plotting parameter
ylim
standard plotting parameter
xlab
standard plotting parameter
ylab
standard plotting parameter
labels
standard plotting parameter
lty
standard plotting parameter
title
standard plotting parameter
yaxt
standard plotting parameter
...
further arguments passed to the plot() calls