Learn R Programming

RFOC (version 1.0-4)

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

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)

Value

  • Used for its graphical side effect

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. [object Object]

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

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

hplot aplot