Description Usage Arguments Details See Also Examples
plines
takes coordinates and joins the corresponding points
with line segments, possibly after projection.
1 |
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 |
The mapproject
function is used for
projection.
1 2 3 4 5 6 7 8 9 | 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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.