plot.smooth.sspline {sspline} | R Documentation |
Plot a smoothing spherical spline using color to represent the function value.
plot.smooth.sspline(x, lon, lat, main="", xlab="Longitude", ylab="Latitude", key.title="Temp\n(deg)", ...)
x |
a smooth.sspline object |
lon |
the longitudes on which the function values will be calculated |
lat |
the latitudes on which the function values will be calculated |
main |
the main title of the plot |
xlab |
the x-axis label of the main plot |
ylab |
the y-axis label of the main plot |
key.title |
the title for the colored key |
... |
other plotting parameters, such as lwd, asp, and ... |
It calls predict.smooth.sspline
and filled.contour
.
NULL
The longitudes and latitudes are measured in degrees.
Xianhong Xie
data(WTdiff) subdat <- WTdiff[sample(nrow(WTdiff), 200), 2:4] attach(subdat) splobj <- smooth.sspline(lon, lat, avgd) plot(splobj, lon=seq(-180, 180, len=50), lat=seq(-90, 90, len=25), main="World Average Temperature Change") detach(subdat)