Function spplot for SpatialGridTopography-class and SpatialPixelsTopography-class objects allows drawing maps of topographic attributes. Function spplot for SpatialGridMeteorology-class and SpatialPixelsMeteorology-class objects allows drawing maps of meteorological variables corresponding to specific dates.

# S4 method for SpatialGridTopography
spplot(obj, variable="elevation",...)
# S4 method for SpatialGridMeteorology
spplot(obj, date, variable="MeanTemperature", ...)
# S4 method for SpatialPixelsTopography
spplot(obj, variable="elevation",...)
# S4 method for SpatialPixelsMeteorology
spplot(obj, date, variable="MeanTemperature", ...)

Arguments

obj

An object of class SpatialGridTopography.

variable

A string of the variable to be plotted (only type="elevation", type="slope", type="aspect" are allowed).

...

Additional parameters to function spplot.

date

A string or an integer for the date to be plotted.

Author

Miquel De Cáceres Ainsa, CREAF

See also

Examples

data(examplegridtopography)

#Display data
spplot(examplegridtopography, type="elevation", scales=list(draw=TRUE))

spplot(examplegridtopography, type="slope", scales=list(draw=TRUE))

spplot(examplegridtopography, type="aspect", scales=list(draw=TRUE))