gbplot: GEBCO plot. Plots equidepth lines.

Description Usage Arguments Value Side Effects See Also Examples

View source: R/gbplot.R

Description

Plots lines of equal depths using a database from GEBCO.

Usage

1
gbplot(depth, col, lty, lwd, depthlab, depthlabcex)

Arguments

depth

A vector of the depths which we want equidept lines plotted.

col

The colour of the lines, if the col vector is shorter than the depth vector it is repeated. Default is all lines black.

lty

Linetype, if the lty vector is shorter than the depth vector it is repeated. Default is all lines have linetype 1.

lwd

Linewidth, if the lwd vector is shorter than the depth vector it is repeated. Default is all lines have linewidth 1.

depthlab

A boolean variable determening whether labels should be printed on equidepth lines, default is false.

depthlabcex

The size of depthlabels.

Value

None

Side Effects

Plots equidepth lines on current plot.

See Also

geoplot, geolines.

Examples

1
2
3
4
5
geoplot()   # Set up plot.

   gbplot(c(100,500,1000),depthlab=T,depthlabcex=0.2)
   # Plot depthlines for 100,500,1000,1500 m, showing the
   # depth on the line.

geo documentation built on May 29, 2017, 5:36 p.m.