plotMap: Plot map

Description Usage Arguments See Also Examples

Description

Plots a map that shows the location of SAR records. Uses the map method of the maps package.

Usage

 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, ...)

Arguments

object

object of the SARSet-class or object of the SAR-class (or a subclass e.g. Sentinel-class or TSX-class).

database

character string naming a geographical database (see map).

regions

character vector that names the polygons to draw (see map).

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 map.text method.

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 map method.

See Also

plotGmap, map, border, plotBorder

Examples

1
2
3
4

ragram documentation built on May 2, 2019, 4:42 p.m.