plot.s2polygon | R Documentation |
Plot the outline of a spherical polygon of class "s2polygon"
in base
graphics via the globe package.
## S3 method for class 's2polygon' plot( x, eps = pi * s2radius(x), ..., add = FALSE, coast = FALSE, longrid = 30, latgrid = 30, flat = FALSE )
x |
Polygon of class |
eps |
Maximum distance between consecutive plotted vertices in the
polygon. For vertices separated by more than |
... |
parameters passed to |
add |
Logical to add outline of polygon to existing plot. |
coast |
Logical to add the outline of the worlds coast lines. |
longrid |
Numeric defining a grid of longitude lines to be plotted if
|
latgrid |
Numeric defining a grid of latitude lines to be plotted if
|
flat |
Logical to plot on a flat earth map (simply projecting lon,lat
values to a rectangular region (-180,180)x(-90,90) using |
NULL (invisibly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.