add_box | R Documentation |
Similar to box
allowing adding a box around a map. This function will place the box around the mapped area.
add_box(...)
... |
arguments passed to |
add_legend
, add_grid
, add_mtext
v <- vect(system.file("ex/lux.shp", package="terra"))
plot(v)
add_box(col="red", lwd=3, xpd=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.