RFOC3.4-14 package

Graphics for Spherical Distributions and Earthquake Focal Mechanisms

addmecpoints

Add points to Focal Mech

addPT

Add P-T Axis to focal plot

addPTarrows

Add fancy 3D arrows

addsmallcirc

Small Circle on Stereonet

AlongGreat

Get Points Along Great Circle

alpha95

95 percent confidence for Spherical Distribution

AXpoint

Extract Axis pole on Stereonet

bang

Angle between two 2D normalized vectors

Beachfoc

Plot a BeachBall Focal Mechanism

Bfocvec

Angles for Ternary plot

BOXarrows3D

Create a 3D Arrow structure

circtics

Draw circular ticmarks

CONVERTSDR

Convert Strike-Dip-Rake to MEC structure

cross.prod

Vector Cross Product

CROSSL

Vector Cross Product

doNonDouble

Plot Non-double Couple Moment

EApoint

Equal-area point stereonet

fancyarrows

Make fancy arrows

faultplane

fault plane projection on focal sphere

FixDip

Fix Dip Angle

flipnodal

Flip Nodal Fault Plane

foc.color

Get color of Focal Mechansim

foc.icolor

Get Fault Style

FOCangles

Angles for focal planes

focleg

Fault style descriptor

focpoint

add point on focal sphere

forcerighthand

Force Right-Hand System

getCMT

Read CMT

GetRake

Calculate Rake angles

GetRakeSense

Get Rake Sense

getUWfocs

Get UW focals

HAMMERprojXY

Hammer Projection

hudson.net

Hudson Net Plot

hudson.plot

Hudson Source Type Plot

imageP

P-wave radiation pattern

imageSCALE

add scale on sice of image

imageSH

P-wave radiation pattern

imageSV

P-wave radiation pattern

inverseTAPE

Inverse Moment Tensor

JMAT

Vertical Rotation matrix

justfocXY

Plot focal mechanism

lowplane

Plot one Fault plane on stereonet

m2tk

Moment tensor to T-k

makeblock3D

Make a 3D block Structure

makenet

Equal-Angle Stereonet

MapNonDouble

Map moment tensors

mc2cart

Convert azimuth, dip to Cartesian Coordinates

mijsdr

Moment Tensor to Strike-Dip-Rake

MomentDist

Distance Between Moment Tensors

MRake

Rake Calculation

net

EqualArea Stereonet

nipXY

Fault-Slip vector plot

nodalLines

Nodal Lines

normal.fault

Normal Fault Cartoon

pcirc

Circle Plot

pglyph3D

Plot a 3D body on an existing graphic

phong3D

Phong shading for a 3D body

plotfoc

Plot Focal Radiation Patterns

plotmanyfoc

Plot Many Focals

plotMEC

Plot a Focal Mechanism

PlotPlanes

Plot Fault an Auxilliary Planes

PlotPTsmooth

Plot Smooth PT-axes

PlotTernfoc

Ternary Distribution of focal mechanisms

PLTcirc

Circle Plot with Cross Hairs

pnet

plot stereonet

polyfoc

Polt the focal mechanism polygon

Pradfoc

Plot P-wave radiation

Preflect

Reflect a pole through to the lower hemisphere

prepFOCS

Prepare Focals

printMEC

Print focal mechanism

PROJ3D

Project 3D

PTaxes

Plot P-T axis on CLVD

PTXY2

Plot P-T Axes

qpoint

Point on Stereonet

radiateP

Plot radiation pattern for P-waves

radiateSH

Plot radiation pattern for SH-waves

radiateSV

Plot radiation pattern for SV-waves

radP

Radiation pattern for P waves

radSH

Radiation pattern for SH waves

radSV

Radiation pattern for SV waves

rakelegend

Focal Legend based on rake

readCMT

Read Harvard CMT moment

RectDense

Divide a region into rectangles based on density

REFLECT

reflect pole

RFOC-package

Calculates and plot Earthquake Focal Mechanisms

rotateFoc

Rotate Focal Mechanism

Rotfocphi

Rotate Focal Mechanism

RotTP

Rotate T-P axes

ROTX

X-axis Rotation Matrix

rotx3

Rotate about the x axis

ROTY

Y-axis Rotation Matrix

roty3

Rotate about the y axis

ROTZ

Z-axis Rotation Matrix

rotz3

Rotate about the z axis

SDRfoc

Plot a Focal Mechanism from SDR

ShadowCLVD

Plot CLVD focal mechanism

SHradfoc

Plot SH-wave radiation

SourceType

Moment Tensor Source Type

spherefocgeo

SphereFocGeo

spline.arrow

Spline Arrow

StrikeDip

Plot Strike Dip Lines

strikeslip.fault

Strikeslip Fault Cartoon

SVradfoc

Plot SV-wave radiation

TapeBase

Tape Base Lines

TapePlot

Tape style Lune Plot

TEACHFOC

Graphical Plot of Focal Mechanism

ternfoc.point

Plot Ternary Point

ternfocgeo

Ternary Focals

testrightHAND

Test Right Hand of tensor

thrust.fault

Thrust Fault Cartoon

tk2uv

Tk2uv

to.spherical

Convert Cartesian to Spherical

TOCART.DIP

Convert to Cartesian

tocartL

Convert to cartesian coordinate

TOSPHERE.DIP

convert to spherical coordinates

TOSPHERE

Convert to Spherical Coordinates

tosphereL

convert to spherical coordinates

TP2XYZ

Trend - Dip to XYZ

TRANmat

Translation Matrix

Wnet

Wulff Stereonet

Wpoint

Plot points on Wulff Stereonet

xsecmanyfoc

Plot Focal Mechs at X-Y position on cross sections

Z3Darrow

Make a 3D arrow

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.

  • Maintainer: Jonathan M. Lees
  • License: GPL (>= 2)
  • Last published: 2026-02-07 16:50:02 UTC