Plot well-known geometry vectors
wk_plot(
handleable,
...,
asp = 1,
bbox = NULL,
xlab = "",
ylab = "",
rule = "evenodd",
add = FALSE
)# S3 method for default
wk_plot(
handleable,
...,
asp = 1,
bbox = NULL,
xlab = "",
ylab = "",
rule = "evenodd",
add = FALSE
)
# S3 method for wk_wkt
plot(
x,
...,
asp = 1,
bbox = NULL,
xlab = "",
ylab = "",
rule = "evenodd",
add = FALSE
)
# S3 method for wk_wkb
plot(
x,
...,
asp = 1,
bbox = NULL,
xlab = "",
ylab = "",
rule = "evenodd",
add = FALSE
)
# S3 method for wk_xy
plot(x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", add = FALSE)
# S3 method for wk_rct
plot(x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", add = FALSE)
# S3 method for wk_crc
plot(x, ..., asp = 1, bbox = NULL, xlab = "", ylab = "", add = FALSE)
The input, invisibly.
A geometry vector (e.g., wkb(), wkt(), xy(),
rct(), or sf::st_sfc()) for which wk_handle() is defined.
Passed to plotting functions for features: graphics::points()
for point and multipoint geometries, graphics::lines() for linestring
and multilinestring geometries, and graphics::polypath() for polygon
and multipolygon geometries.
Passed to graphics::plot()
The limits of the plot as a rct() or compatible object
The rule to use for filling polygons (see graphics::polypath())
Should a new plot be created, or should handleable be added to the
existing plot?
A wkb() or wkt()
plot(as_wkt("LINESTRING (0 0, 1 1)"))
plot(as_wkb("LINESTRING (0 0, 1 1)"))
Run the code above in your browser using DataLab