| plotErrorBarsLines {SwathXtend} | R Documentation |
Prints faint lines for each profile, and a mean/error bars
plotErrorBarsLines(v, barSizes, lines, labels = NULL, col = "blue", ylim, ...)
v |
Overall trend, to be printed solid, length n |
barSizes |
Size of the error bars, length n |
lines |
Matrix of n columns, and as many rows as lines |
labels |
Labels to be printed on the x axis, length n |
col |
Colour for main trend line |
ylim |
Can specfy limits so several graphs are on the same scale |
... |
Additional parameters to pass in |
No returned value; plot only.
help, ~~~
mat = matrix(rnorm(100), 10) plotErrorBarsLines(apply(mat,1,FUN=mean), apply(mat,1,FUN=sd), lines=mat, col="red", main="A random plot", xlab="Some label")