plotIntersect: Plot Profile Intersection

plotIntersectR Documentation

Plot Profile Intersection

Description

Plots resistivity against height on and next to the intersection line between two profiles.

Usage

plotIntersect(.Object1, .Object2 = NULL,
  xlab = "Height above sea level [m]",
  ylab = expression(paste("Resistivity [", Omega, "m]")), main = "",
  trafo = log, backtrafo = exp, col = colors, pch = c(20, 20),
  type = "p", legendLoc = "bottomleft")

## S4 method for signature 'ProfileSet,ANY'
plotIntersect(.Object1, xlab, ylab, main, trafo,
  backtrafo, col, pch, type, legendLoc)

## S4 method for signature 'Profile,Profile'
plotIntersect(.Object1, .Object2 = NULL,
  xlab = "Height above sea level [m]",
  ylab = expression(paste("Resistivity [", Omega, "m]")), main = "",
  trafo = log, backtrafo = exp, col = colors, pch = c(20, 20),
  type = "p", legendLoc = "bottomleft")

Arguments

.Object1

either a single Profile or a ProfileSet.

.Object2

either a second single Profile or NULL if .Object1 is of type ProfileSet.

xlab

label of the x-axes, e.g. length [m].

ylab

label of the y-axes, e.g. height above sea level [m].

main

title to be plotted.

trafo

transformation to be done on data (default: log).

backtrafo

back transformation to plot correct labels (default: exp).

col

character vector of colors.

pch

numeric vector of plotting symbols.

type

plot type (default "p" for points). "b" for both points and lines, "c" for empty points joined by lines, "o" for overplotted points and lines, "s" and "S" for stair steps and "h" for histogram-like vertical lines. Finally, "n" does not produce any points or lines.

legendLoc

legendLocation (default "bottomleft").

See Also

ProfileSet-class

Examples

data(sinkhole)

plotIntersect(sinkhole)
plotIntersect(sinkhole@profiles[[1]], sinkhole@profiles[[2]])

geoelectrics documentation built on Feb. 16, 2023, 8:06 p.m.