Learn R Programming

meteoland (version 0.9.7)

spplot: Spatial grid plots

Description

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.

Usage

# 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.

See Also

meteoplot

Examples

Run this code
# NOT RUN {
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))
# }

Run the code above in your browser using DataLab