plot.Slope | R Documentation |
The Slope object contains distances and slopes. The remainder of the slopes need to be linearly interpolated. These linearly interpreted slopes are the derivative of the elevation (hillslope) profile. We start each hillslope at the point (0,0).
## S3 method for class 'Slope'
plot(slp, n = 1001, plots = c("slope", "elevation"))
slp |
a Slope object |
n |
(optional) a positive integer indicating how many points to evaluate for drawing |
plots |
(optional) a charcter vector indicating whether to draw the "slope", "elevation", or both |
a gtable containing plots of slope or elevation
expand_slp
slp <- read_slp(system.file("extdata", "071000090603_2.slp", package="WEPPR"))
plot(slp, plots=c("slope"))
plot(slp, plots=c("elevation"))
plot(slp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.