ppolygon {autoimage} | R Documentation |
Projected polygon function
Description
ptext
draws polygons using the vertices given in x
and y
, possibly with projected coordinates.
Usage
ppolygon(x, y = NULL, proj, ...)
Arguments
x |
vectors containing the coordinates of the vertices of the polygon. |
y |
vectors containing the coordinates of the vertices of the polygon. |
proj |
A character string indicating what projection should be
used for the included |
... |
graphical parameters such as |
Details
The mapproject
function is used for
projection.
See Also
Examples
data(narccap)
# plot image using bonne projection (w/o grid lines)
pimage(lon, lat, tasmax[,,1], proj = "bonne",
parameters = 40, paxes.args = list(col = "grey"))
# filled polygon for Colorado border
data(copoly)
ppolygon(copoly, proj = "bonne", col = "orange")
[Package autoimage version 2.2.3 Index]