Learn R Programming

mapplots (version 1.5.1)

draw.rect: Draw ICES rectangles in an existing plot

Description

Draw ICES rectangles in an existing map and add axis labels to the top and righ axes. ICES statistical rectangles (www.ices.dk) are rectangles of 1 degree longitude x 0.5 degrees latitude. They are used for reporting of fishinge effort and landings.

Usage

draw.rect(col = "grey", lty = 2, ...)

Arguments

col

colour of the lines, defaults to "grey".

lty

line type, defaults to 2.

...

any other arguments to be passed to abline.

Author

Hans Gerritsen

References

www.ices.dk

See Also

basemap

Examples

Run this code
xlim <- c(-15,0)
ylim <- c(50,56)
basemap(xlim, ylim)
draw.rect()

Run the code above in your browser using DataLab