plines {autoimage} | R Documentation |
Projected lines function
Description
plines
takes coordinates and joins the corresponding points
with line segments, possibly after projection.
Usage
plines(x, y = NULL, type = "l", proj, ...)
Arguments
x |
coordinate vectors of points to join. |
y |
coordinate vectors of points to join. |
type |
character indicating the type of plotting; actually any of
the |
proj |
A character string indicating what projection should be
used for the included |
... |
Further graphical parameters (see |
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(grid = FALSE))
# get national boundaries
data(worldMapEnv, package = "maps")
worldpoly <- maps::map("world", plot = FALSE)
# add boundaries to existing plot
plines(worldpoly, proj = "bonne")