Plot an sf object. This is mostly a wrapper around
plot(st_geometry(x), ...)
.
mf_base(
x,
col = "grey80",
border = "grey20",
bg = "white",
cex = 1,
pch = 20,
lwd = 0.7,
lty = 1,
add = FALSE,
...
)
object of class sf
, sfc
or sfg
color
border color
background color
point size
pch (point type) for symbols
border width
line or border type
whether to add the layer to an existing plot (TRUE) or not (FALSE)
further parameters from plot for sfc objects
x is (invisibly) returned.
library(sf)
#> Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE
mtq <- mf_get_mtq()
mf_base(mtq)
mf_base(mtq, col = "blue")