Learn R Programming

meteoland (version 2.0.0)

spplot,SpatialGridMeteorology-method: Spatial grid plots

Description

[Deprecated]

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 SpatialGridMeteorology
spplot(obj, date, variable = "MeanTemperature", ...)

Arguments

obj

An object of class SpatialGridTopography.

date

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

variable

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

...

Additional parameters to function spplot.

Author

Miquel De Cáceres Ainsa, CREAF

See Also

meteoplot

Examples

Run this code

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