domainbox | R Documentation |
Function for adding the outline of a geographical domain to the current plot.
domainbox(geo, add.dx=TRUE, npoints=200, ...)
geo |
A |
add.dx |
Usually, the co-ordinates are the centers of the grid boxes, not the corners. So we add dx/2 to get the full plot window. Set to FALSE in other cases. |
npoints |
The number of points used to define the 4 edges. If the lines are very curved and the plot is at very high resolution, you may want to increase this number to get smoother lines. |
... |
Graphical parameters. |
The outline of the domain is added to a pre-existing plot. If the projection is the same, this may be a square, but otherwise it is re-projected.
iview
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.