section                 package:Rsac                 R Documentation

_S_E_I_S_M_I_C _S_E_C_T_I_O_N

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

       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.

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_s):

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

_E_x_a_m_p_l_e_s:

     data(sumatra)
     section(sumatra)

