| plot.landform | R Documentation |
Plots the map of the classes, a bar plot of the area of each class, or the
standardised TPI surface(s), from an object returned by
landform.
## S3 method for class 'landform'
plot(
x,
what = c("classes", "area", "tpi"),
shade = c("none", "slope", "hill"),
alpha = 0.6,
leg.pos = NULL,
leg.cex = 0.8,
main = NULL,
...
)
x |
An object of class |
what |
What to plot: |
shade |
Relief shading drawn underneath the classes or the TPI:
|
alpha |
Opacity (0 to 1) of the classes or TPI drawn over the shading.
Default |
leg.pos |
Legend position for the map (a |
leg.cex |
Magnification of the legend text. Default |
main |
Plot title; a sensible default is used if |
... |
Further arguments passed to |
A slopeshade conveys relief without the directional bias of a hillshade: features facing away from the light are not darkened, and steepness is shown in the same way whatever the aspect. The grey scale is stretched between 0 degrees and the 99th percentile of slope, so that a few very steep cells do not flatten the contrast elsewhere.
x, invisibly.
dem <- malta_dtm()
sp <- landform(dem, scale = 9, plot = FALSE)
plot(sp)
plot(sp, shade = "slope")
plot(sp, what = "area")
plot(sp, what = "tpi", shade = "slope", alpha = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.