draw.map {birdring}R Documentation

Draws a map of the palearctic region

Description

Draws a map of the palearctic region that can be used as basis for showing ring reencounter data.

Usage

draw.map(a=-10, b=30, c=23, d=65, bbox=NULL, fill = TRUE, col.land = grey(0.5), 
  col.water = "white", border = NA, detail = FALSE, box = TRUE, axes = FALSE, 
  las = 1, cex.axis = 0.8, dist.axislab = 0.2, whichaxis = c(1:4), tck = -0.005, 
  mercator = FALSE, mar = rep(0.5, 4), asp=NA)

Arguments

a

left edge of the map (longitude), can be used alternatively to the argument bbox

b

right edge of the map (longitude), can be used alternatively to the argument bbox

c

lower edge of the map (latitude), can be used alternatively to the argument bbox

d

upper edge of the map (latitude), can be used alternatively to the argument bbox

bbox

a numeric vector giving the map boundary in decimal degrees as c(long_min, long_max, lat_min, lat_max), can be used alternatively to the arguments a, b, c, and d.

fill

logical value, TRUE = land and water masses are filled with a color

col.land

color of the land

col.water

color of the water

border

color of the coastline, NA = no coastline is drawn

detail

if TRUE: an alternative way to draw coastlines

box

logical, TRUE = a box is drawn around the map

axes

logical, indicates whether axis should be drawn

las

see par

cex.axis

see par

dist.axislab

distance from the axis to the axis labels

whichaxis

vector of length 1 to 4 containing the axis that should be drawn, default is c(1,2,3,4), i.e. all axes

tck

see par

mercator

logical, if TRUE a mercator projection is plotted. see details below

mar

see par

asp

if set to 1 x and y axes are scaled equally (not recommended if mercator=TRUE), see par

Details

If a mercator projection is used, the values for a, b, c and d will be adjusted.

Value

this is a plotting function only

Note

some times it does not do what we expect....

Author(s)

Fraenzi Korner-Nievergelt

References

Rummler, H. 2002. Mercatorkarte und hyperbolische Geometrie. Elem. Math., 57, 168-173.

Examples


draw.map(-18, 50, -5, 56, col.land="white", col.water=grey(0.5), 
  detail=FALSE, axes=TRUE)

draw.map(a=0, b=30, c=35, d=60, col.land="white", col.water=grey(0.5), 
  detail=FALSE, axes=TRUE, mercator=TRUE)

[Package birdring version 1.6 Index]