plotly: Interactive plot of GPR objects with plotly.js

View source: R/plotly.R

plotlyR Documentation

Interactive plot of GPR objects with plotly.js

Description

A wrapper for the function plot_ly. Still experimental.

Usage

plotly(
  x,
  col = palGPR(),
  add = FALSE,
  relTime0 = FALSE,
  main = NULL,
  addTopo = FALSE,
  elev = FALSE,
  clip = NULL,
  ...
)

Arguments

x

Object of class GPR

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.

addTopo

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

elev

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

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.

...

additional arguments passed to the plot_ly function, see plot_ly.


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