Description Usage Arguments See Also Examples
Plots a map that shows the location of SAR records.
Uses the map
method of the maps package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | plotMap(object, database = "world", regions = ".", xlim = c(-8, 8) +
mean(object@extent[1:2]), ylim = c(-8, 8) + mean(object@extent[3:4]),
xlab = "Longitude", ylab = "Latitude", main = NULL, add = F,
map.default.text = T, sar = T, labels.x = NULL, labels.y = NULL,
labels = seq_along(labels.x), col = rgb(1, 0, 0, 0.5), orbit = T, ...)
## S4 method for signature 'SAR'
plotMap(object, database = "world", regions = ".",
xlim = c(-8, 8) + mean(object@extent[1:2]), ylim = c(-8, 8) +
mean(object@extent[3:4]), xlab = "Longitude", ylab = "Latitude",
main = NULL, add = F, map.default.text = T, sar = T,
labels.x = NULL, labels.y = NULL, labels = seq_along(labels.x),
col = rgb(1, 0, 0, 0.5), orbit = T, ...)
## S4 method for signature 'SARSet'
plotMap(object, database = "world", regions = ".",
xlim = c(-8, 8) + mean(object@extent[1:2]), ylim = c(-8, 8) +
mean(object@extent[3:4]), xlab = "Longitude", ylab = "Latitude",
main = NULL, add = F, map.default.text = T, sar = T,
labels.x = NULL, labels.y = NULL, labels = seq_along(labels.x),
col = rgb(1, 0, 0, 0.5), orbit = T, ...)
|
object |
object of the |
database |
character string naming a geographical database (see |
regions |
character vector that names the polygons to draw (see |
xlim |
the x limits (x1, x2) of the plot. |
ylim |
the y limits (y1, y2) of the plot. |
xlab |
title of the x axis. |
ylab |
title of the y axis. |
main |
Character. Title. |
add |
Logical. Add the map to a current plot? |
map.default.text |
TRUE if default text is plotted using the |
sar |
TRUE if location should be plotted. |
labels.x |
x coordinates of labels. |
labels.y |
y coordinates of labels. |
labels |
vector of text that should be plotted on the map. |
col |
color within the recorded area. |
orbit |
TRUE if orbit number is plotted |
... |
graphical parameters of |
plotGmap
, map
, border
, plotBorder
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.