plot: Plot a GPR cube

plotR Documentation

Plot a GPR cube

Description

Plot GPR data cube.

plot: If the GPR object consists of a single trace, wiggle plot is shown. For CMP, the position of the traces on the x-axis is defined by the antenna separation (antsep(x)).

Plot GPR suvey lines

Usage

## S3 method for class 'GPRset'
plot(
  x,
  add = FALSE,
  relTime0 = FALSE,
  note = NULL,
  addFid = TRUE,
  addAnn = TRUE,
  addTime0 = TRUE,
  addDepth0 = TRUE,
  addAmpl0 = TRUE,
  addTopo = FALSE,
  clip = NULL,
  ratio = 1,
  barscale = TRUE,
  wsize = 1,
  wside = 1,
  pdfName = NULL,
  ...
)

## S3 method for class 'GPRcube'
plot(
  x,
  i = NULL,
  j = NULL,
  k = NULL,
  xlim = NULL,
  ylim = NULL,
  zlim = NULL,
  clim = NULL,
  colkey = NULL,
  add = FALSE,
  col = NULL,
  inttype = 2,
  ...
)

## S3 method for class 'GPRslice'
plot(
  x,
  main = NULL,
  xlab = NULL,
  ylab = NULL,
  col = NULL,
  clim = NULL,
  relCoords = FALSE,
  ...
)

## S3 method for class 'GPR'
plot(
  x,
  add = FALSE,
  relTime0 = FALSE,
  note = NULL,
  addFid = TRUE,
  addAnn = TRUE,
  addTime0 = TRUE,
  addDepth0 = TRUE,
  addAmpl0 = TRUE,
  addTopo = FALSE,
  add2ndYAxis = TRUE,
  elev = FALSE,
  clip = NULL,
  barscale = TRUE,
  wsize = 1,
  wside = 1,
  pdfName = NULL,
  pdfFac = 0.2,
  pngName = NULL,
  pngFac = 20,
  NAcol = "white",
  fast = FALSE,
  ...
)

## S3 method for class 'GPR'
contour(
  x,
  relTime0 = FALSE,
  add = FALSE,
  note = NULL,
  addFid = TRUE,
  addAnn = TRUE,
  addTime0 = TRUE,
  addDepth0 = TRUE,
  addAmpl0 = TRUE,
  addTopo = FALSE,
  clip = NULL,
  asp = 1,
  barscale = TRUE,
  pdfName = NULL,
  ...
)

## S3 method for class 'GPRsurvey'
plot(x, y, ...)

Arguments

x

Object of class GPR

add

logical. If TRUE, add to current plot

relTime0

logical. If TRUE, adjust vertical axis to time-zero. If time-zero varies from trace to trace, the vertical axis is adjusted to the mean time-zero. Apply first the function time0Cor() to shift the traces to their time-zero.

addFid

logical. Add fiducial marks

addAnn

logical. Add GPR annotations (line intersections)

addTime0

logical. Add time-zero line

addDepth0

logical. Add depth-zero line

addAmpl0

logical. Add an horizontal line on 1D plot

addTopo

logical. For 2D plot, add topography (if the data are sampled in time unit, the data are migrated with a static migration)

clip

numeric. If length-one numeric vector, clip the amplitudes larger than clip and smaller than -clip. If length-two numeric vector, clip the amplitudes smaller than clip[1] and larger than clip[2]. Per default, values below the 0.01-quantile and above the 0.99-quantile are clipped. If clip = FALSE the data are not clipped.

ratio

logical.

barscale

logical. Add a colorbar scale

wsize

length-one numeric. Size of the wiggles (default = 1).

wside

length-one numeric. If positive the right part of the wavelet is colored. If negative, the left part of the wavelet is colored.

pdfName

length-one character. Name/path of the PDF to export without extension

...

additional arguments passed to the plotting methods plot for 1D plot and Image for 2D plot. See also details.

main

character. Plot title.

add2ndYAxis

logical. Should be a second (i.e., right) y-axis added?

elev

logical. If TRUE the elevation instead of depth is displayed on y-axis (and therefore, time-to-depth conversion is applied).

pdfFac

length-one vector: factor to scale the exported PNG

pngName

length-one character. Name/path of the PNG to export without extension

pngFac

length-one vector: factor to scale the exported PNG

NAcol

lengthe-one vector: color to be used.

fast

logical: if TRUE plots only a subset of the data (max. 1000 traces) to speed up plotting.

Details

i, j and k define the sections of the cube that are plotted. With the default value (e.g., i = NULL, the first and the last sections of all dimensions are plotted). The additional arguments (...) correspond to the arguments of the function 'plot3D::surf3D()' (with argument 'theta' and 'phi' you can define the orientation of the cube).

Additional arguments

  • type: Possible values for 1D plot: see argument type in plot. For 2D plot: "raster" (default) or "wiggles".

  • col: Color. Default 1D: "black". 2D: palGPR(n = 101)


emanuelhuber/RGPR documentation built on May 13, 2024, 9:31 p.m.