Learn R Programming

geo (version 1.4-3)

gbplot: GEBCO plot. Plots equidepth lines.

Description

Plots lines of equal depths using a database from GEBCO.

Usage

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

Run this code
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.

Run the code above in your browser using DataLab