plot.geos_geometry {geos} | R Documentation |
Plot GEOS geometries
Description
Plot GEOS geometries
Usage
## S3 method for class 'geos_geometry'
plot(
x,
...,
asp = 1,
bbox = NULL,
xlab = "",
ylab = "",
rule = "evenodd",
add = FALSE,
simplify = 1,
crop = TRUE
)
Arguments
x |
|
... |
Passed to plotting functions for features: |
asp , xlab , ylab |
Passed to |
bbox |
The limits of the plot as a |
rule |
The rule to use for filling polygons (see |
add |
Should a new plot be created, or should |
simplify |
A relative tolerance to use for simplification of geometries. Use 0 to disable simplification; use a higher number to make simplification coarser. |
crop |
Use |
Value
The input, invisibly
Examples
plot(as_geos_geometry("LINESTRING (0 0, 1 1)"))
plot(as_geos_geometry("POINT (0.5 0.4)"), add = TRUE)
[Package geos version 0.2.4 Index]