section {Rsac}R Documentation

Plot a seismic section

Description

Plots a seismic section given an array of seismic records. The recordings are offset by distance, which can be user supplied, or calculated from the epicenter and station locations in the header of each recording.

Usage

section(x, dist = NULL, vertdist = TRUE, ampnorm = TRUE, mfactor = 1,
        xlim = NULL, tracelabs = NULL, lty = NULL, col = NULL,
        timeStyle = "axis", offsets = NULL)

Arguments

x an object of class "rsac".
dist vector of distances for each trace; if provided it must have the same lenght as ‘x’, otherwise it will be calculated from the header info if the station and epicenter locations are give.
vertdist logical; should the vertical axis be distance.
ampnorm logical; if ‘TRUE’ the the amplitudes of all the traces will be adjusted to have the same maximum amplitude, and the amplitudes scale will not be consistent between the different traces.
mfactor a multiplicative factor to be applied to all the traces after scaling.
xlim time extents of the plot.
tracelabs a vector of characters to label the traces; if provided its length must equal the length of ‘x’.
lty, col if a single value is given then it is used for all traces. If a vector then its length must equal the number of traces in ‘x’.
timeStyle how the time scale should be indicated. Accepts ‘axis’ and ‘bar’.
offsets a distance to offset the trace from it's default location; this is useful when comparing multiple traces (e.g. synthetics) that are located at the same epicentral distance. Must equal the number of traces in ‘x’.

Value

a list containing the following elements:

C azimuth, in degrees.
B back azimuth, in degrees.
a arc distance, in degrees.
lat latitude defining the path.
lon longitude defining the path.

Author(s)

Eric M. Thompson <eric.thompson@tufts.edu>

Examples

data(sumatra)
section(sumatra)

[Package Rsac version 0.1-7 Index]