Learn R Programming

RFOC (version 3.4-10)

Beachfoc: 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))

Value

Used for its graphical side effect

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)

Author

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

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

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

Run this code

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

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

Run the code above in your browser using DataLab