Learn R Programming

RFOC (version 3.4-10)

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

Description

Graphics for statistics on a sphere, as applied to geological fault data, crystallography, earthquake focal mechanisms, radiation patterns, ternary plots and geographical/geological maps. Non-double couple plotting of focal spheres and source type maps are included for statistical analysis of moment tensors.

Copy Link

Version

Install

install.packages('RFOC')

Monthly Downloads

295

Version

3.4-10

License

GPL (>= 2)

Maintainer

Jonathan Lees

Last Published

September 6th, 2023

Functions in RFOC (3.4-10)

KAMCORN

SDR data from the Harvard CMT catalog
MapNonDouble

Map moment tensors
PLTcirc

Circle Plot with Cross Hairs
PKAM

P and T-axes data from the Harvard CMT catalog
MRake

Rake Calculation
JMAT

Vertical Rotation matrix
HAMMERprojXY

Hammer Projection
PlotTernfoc

Ternary Distribution of focal mechanisms
PlotPlanes

Plot Fault an Auxilliary Planes
Pradfoc

Plot P-wave radiation
Preflect

Reflect a pole through to the lower hemisphere
RFOC-package

Calculates and plot Earthquake Focal Mechanisms
REFLECT

reflect pole
RectDense

Divide a region into rectangles based on density
ROTZ

Z-axis Rotation Matrix
SHradfoc

Plot SH-wave radiation
SDRfoc

Plot a Focal Mechanism from SDR
PTaxes

Plot P-T axis on CLVD
MomentDist

Distance Between Moment Tensors
StrikeDip

Plot Strike Dip Lines
SourceType

Moment Tensor Source Type
PROJ3D

Project 3D
RotTP

Rotate T-P axes
PTXY2

Plot P-T Axes
PlotPTsmooth

Plot Smooth PT-axes
Rotfocphi

Rotate Focal Mechanism
GetRake

Calculate Rake angles
TP2XYZ

Trend - Dip to XYZ
GetRakeSense

Get Rake Sense
TOCART.DIP

Convert to Cartesian
TRANmat

Translation Matrix
TEACHFOC

Graphical Plot of Focal Mechanism
alpha95

95 percent confidence for Spherical Distribution
addPTarrows

Add fancy 3D arrows
bang

Angle between two 2D normalized vectors
addPT

Add P-T Axis to focal plot
cross.prod

Vector Cross Product
circtics

Draw circular ticmarks
Vmoments

Cartesian Moment Tensors
faultplane

fault plane projection on focal sphere
fancyarrows

Make fancy arrows
SVradfoc

Plot SV-wave radiation
Wnet

Wulff Stereonet
flipnodal

Flip Nodal Fault Plane
ShadowCLVD

Plot CLVD focal mechanism
imageSV

P-wave radiation pattern
getCMT

Read CMT
justfocXY

Plot focal mechanism
foc.color

Get color of Focal Mechansim
imageSH

P-wave radiation pattern
lowplane

Plot one Fault plane on stereonet
net

EqualArea Stereonet
mijsdr

Moment Tensor to Strike-Dip-Rake
nipXY

Fault-Slip vector plot
radiateSV

Plot radiation pattern for SV-waves
plotMEC

Plot a Focal Mechanism
TapeBase

Tape Base Lines
nodalLines

Nodal Lines
TOSPHERE.DIP

convert to spherical coordinates
radiateSH

Plot radiation pattern for SH-waves
plotfoc

Plot Focal Radiation Patterns
TapePlot

Tape style Lune Plot
radSV

Radiation pattern for SV waves
inverseTAPE

Inverse Moment Tensor
imageP

P-wave radiation pattern
imageSCALE

add scale on sice of image
TOSPHERE

Convert to Spherical Coordinates
ROTY

Y-axis Rotation Matrix
addmecpoints

Add points to Focal Mech
ROTX

X-axis Rotation Matrix
readCMT

Read Harvard CMT moment
roty3

Rotate about the y axis
radiateP

Plot radiation pattern for P-waves
rakelegend

Focal Legend based on rake
doNonDouble

Plot Non-double Couple Moment
addsmallcirc

Small Circle on Stereonet
Wpoint

Plot points on Wulff Stereonet
foc.icolor

Get Fault Style
focleg

Fault style descriptor
Z3Darrow

Make a 3D arrow
to.spherical

Convert Cartesian to Spherical
tocartL

Convert to cartesian coordinate
rotz3

Rotate about the z axis
hudson.net

Hudson Net Plot
getUWfocs

Get UW focals
forcerighthand

Force Right-Hand System
tosphereL

convert to spherical coordinates
makenet

Equal-Angle Stereonet
widdenMoments

Cartesian Moment Tensors
egl

Tungurahua Cartesian Moment Tensors
normal.fault

Normal Fault Cartoon
plotmanyfoc

Plot Many Focals
jimbo

Moment Tensors from the Harvard CMT
pcirc

Circle Plot
mc2cart

Convert azimuth, dip to Cartesian Coordinates
testrightHAND

Test Right Hand of tensor
hudson.plot

Hudson Source Type Plot
pnet

plot stereonet
printMEC

Print focal mechanism
focpoint

add point on focal sphere
ternfocgeo

Ternary Focals
m2tk

Moment tensor to T-k
polyfoc

Polt the focal mechanism polygon
makeblock3D

Make a 3D block Structure
rotateFoc

Rotate Focal Mechanism
pglyph3D

Plot a 3D body on an existing graphic
spherefocgeo

SphereFocGeo
qpoint

Point on Stereonet
prepFOCS

Prepare Focals
spline.arrow

Spline Arrow
phong3D

Phong shading for a 3D body
rotx3

Rotate about the x axis
thrust.fault

Thrust Fault Cartoon
ternfoc.point

Plot Ternary Point
xsecmanyfoc

Plot Focal Mechs at X-Y position on cross sections
strikeslip.fault

Strikeslip Fault Cartoon
tk2uv

Tk2uv
radP

Radiation pattern for P waves
radSH

Radiation pattern for SH waves
FixDip

Fix Dip Angle
EApoint

Equal-area point stereonet
Bfocvec

Angles for Ternary plot
FOCangles

Angles for focal planes
AlongGreat

Get Points Along Great Circle
CONVERTSDR

Convert Strike-Dip-Rake to MEC structure
AXpoint

Extract Axis pole on Stereonet
CROSSL

Vector Cross Product
BOXarrows3D

Create a 3D Arrow structure
Beachfoc

Plot a BeachBall Focal Mechanism