Returns a ggplot object showing the DTM (terrain colours plus slope-shade), the least-cost path(s), the origin (black dot) and destination(s) (red dots), optionally labelled with the accumulated cost, and the return paths (dashed) if they were computed.
# S3 method for movecost_paths
plot(
x,
destin.lab = TRUE,
cex.lcp.lab = 2.5,
transp = 0.5,
lcp.lwd = 0.3,
plot.barrier = FALSE,
...
)A ggplot object (draw it by printing; customise it with +).
a movecost_paths object.
TRUE (default) or FALSE: label each destination with its accumulated cost.
size of the destination labels (2.5 by default).
transparency of the slope-shade overlay (0.5 by default).
line width of the least-cost path(s) (0.3 by default; the return paths, if any, are drawn at 80% of this width).
TRUE or FALSE (default): draw the barrier (blue) if one was used when building the surface.
unused.
mc_paths