Learn R Programming

RFOC (version 3.4-6)

polyfoc: Polt the focal mechanism polygon

Description

Calculate the projection of the focal mechanism polygon

Usage

polyfoc(strike1, dip1, strike2, dip2, PLOT = FALSE, UP = TRUE)

Arguments

strike1

strike of plane 1, degrees

dip1

dip of plane 1, degrees

strike2

strike of plane 1, degrees

dip2

dip of plane 2, degrees

PLOT

logical, TRUE = add to plot

UP

upper/lower hemisphere

Value

List of coordinates of polygon

Px

x-coordinates of polygon

Py

y-coordinates of polygon

See Also

faultplane

Examples

Run this code
# NOT RUN {
MEC = SDRfoc(13,59,125, PLOT=FALSE)

net()
ply = polyfoc(MEC$az1, MEC$dip1, MEC$az2, MEC$dip2, PLOT = TRUE, UP = TRUE)

# }

Run the code above in your browser using DataLab