Beachfoc: Plot a BeachBall Focal Mechanism

BeachfocR Documentation

Plot a BeachBall Focal Mechanism

Description

Plots a focal mechanism in beachball style

Usage

Beachfoc(MEC, fcol = gray(0.9), fcolback = "white", ALIM = c(-1, -1, +1, +1))

Arguments

MEC

Mechanism Structure

fcol

color for the filled portion of the beachball

fcolback

color for the background portion of the beachball, default='white'

ALIM

Bounding box for beachball, default=c(-1, -1, +1, +1)

Details

Beachfoc is run after MEC is set using SDRfoc. Options for plotting the beachball in various modes are controlled by flags set in MEC

Value

Used for its graphical side effect

Author(s)

Jonathan M. Lees <jonathan.lees@unc.edu>

References

K. Aki and P. G. Richards. Quantitative seismology. University Science Books, Sausalito, Calif., 2nd edition, 2002. Keiiti Aki, Paul G. Richards. ill. ; 26 cm.

See Also

CONVERTSDR, SDRfoc, justfocXY

Examples


MEC = SDRfoc(65,25,13, u=FALSE, ALIM=c(-1,-1, +1, +1), PLOT=TRUE)

Beachfoc(MEC, fcol=MEC$fcol, fcolback="white")


RFOC documentation built on Sept. 8, 2023, 6:12 p.m.