plot.hero_radspline {hero} | R Documentation |
Plot a hero_radspline
Description
Plot a hero_radspline
to compare the knots to the
observed data locations.
Usage
## S3 method for class 'hero_radspline'
plot(
x,
blist = list(col = "grey"),
glist = list(col = seq_along(x$grid) + 1, pch = seq_along(x$grid)),
...
)
Arguments
x |
A |
blist |
A list to pass the plot method associated
with |
glist |
A list to pass the plot method associated
with |
... |
Additional arguments to pass the plot method
associated with |
Details
If the default plotting styles for x$grid
are to
be changed, the user can either choose a single
color/style that is replicated for each element of
x$grid
or supply a vector which has length
matching length{x$grid}
. See Examples.
Author(s)
Joshua French
See Also
Examples
border = border.grid(lon, lat)
r = radspline(nknots = c(36, 36 * 4), border = border)
# default color scheme
plot(r)
# change color and point styles of points,
# and background of original domain
plot(r, blist = list(col = "yellow"),
glist = list(col = c("blue", "orange"),
pch = 3:4))