Description Usage Arguments Details Author(s) Examples
Convenience routine for adding lines to plots
1 |
x |
Usually, Time from a data.frame; a vector of abscissa values. Default: Data$Time |
y |
A vector of ordinate values for points to plot. |
col |
Color to pass to plot (default: darkgreen) |
lwd |
Line width to pass to plot (default: 2) |
type |
Line type to pass to plot (default: "l") |
... |
Additional arguments to pass to point() |
Sets some plot defaults and calls points; assumes a plot with axes has already been generated to which to add this line. The advantage of using this vs. "lines" is that the times are routinely adjusted to plot values at the center of the interval between the interval following the listed time, as is the convention for RAF netCDF files.
William Cooper
1 2 | ## Not run: lineWAC (Time, TASX, col='darkgreen')
## Not run: lineWAC (Time, PSXC, lty=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.