plot.map | R Documentation |
This function makes and scatter plot given the longitude and latitude of the data points.
plot.map(
x,
y = NULL,
xlim = NULL,
ylim = NULL,
domain = NULL,
center = 0,
hires = FALSE,
land.col = "darkolivegreen4",
sea.col = "aliceblue",
boundaries.col = "black",
grid.col = "white",
grid = TRUE,
grid.lwd = 0.5,
cex = 0.5,
pch = 19,
main = NULL,
add = FALSE,
axes = TRUE,
land = TRUE,
border = !axes,
asp = NA,
axs = "i",
xaxs = axs,
yaxs = axs,
cex.axis = 0.75,
interior = FALSE,
fill = TRUE,
countries = FALSE,
nx = NULL,
ny = nx,
...
)
x |
vector of longitude values, or a data.frame containing variables named 'lon' and 'lat' |
y |
vector of latitude values. |
xlim |
|
ylim |
|
center |
|
hires |
|
land.col |
|
sea.col |
|
boundaries.col |
|
grid.col |
|
grid |
|
cex |
|
pch |
|
main |
|
add |
|
axes |
|
land |
|
border |
|
asp |
|
axs |
|
xaxs |
|
yaxs |
|
cex.axis |
|
interior |
|
fill |
|
countries |
|
nx |
|
ny |
|
... |
Ricardo Oliveros-Ramos
load(mackerel)
plot.map(mackerel)
plot.map(domain="peru")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.