visDEM: Display Contour Lines

View source: R/visDEM.R

visDEMR Documentation

Display Contour Lines

Description

Display contour lines deduced from a digital elevation model (DEM) in a way compatible with all kinds of "trellis" graphics.

Usage

visDEM(
  dem,
  zlevs.conts = seq(1000, 5500, 500),
  labels = c(1000, "", 2000, "", 3000, "", 4000, "", 5000, ""),
  cex = 1.8,
  col = "grey50",
  labcex = 1,
  ...
)

Arguments

dem

DEM as RasterLayer or character file path.

zlevs.conts

Elevation levels for which to include contour lines.

labels

Labels associated with 'zlevs.conts'.

cex, col, labcex

Additional graphical parameters, see contour and par.

...

Additional arguments passed to Rsenal:::panel.smoothconts.

Value

An object of class "trellis".

Author(s)

Tim Appelhans, Florian Detsch

See Also

contour, Lattice.


environmentalinformatics-marburg/Rsenal documentation built on July 28, 2023, 6:09 a.m.