Learn R Programming

RFOC (version 3.4-10)

ternfoc.point: Plot Ternary Point

Description

Add a point to a ternary plot

Usage

ternfoc.point(deltaB, deltaP, deltaT)

Value

List

h

vector of x coordinates

v

vector of y coordinates

Arguments

deltaB

angle, degrees

deltaP

angle, degrees

deltaT

angle, degrees

Author

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

Details

Plot point on a Ternary diagram using Froelich's algorithm.

References

C. Frohlich. Triangle diagrams: ternary graphs to display similarity and diversity of earthquake focal mechanisms. Physics of the Earth and Planetary Interiors, 75:193-198, 1992.

See Also

Bfocvec

Examples

Run this code
Msdr = CONVERTSDR(55.01, 165.65,  29.2   )
 MEC = MRake(Msdr$M)
  MEC$UP = FALSE
   az1 = Msdr$M$az1
  dip1 = Msdr$M$d1
  az2 = Msdr$M$az2
  dip2 = Msdr$M$d2
  BBB = Bfocvec(az1, dip1,  az2,  dip2)
  V = ternfoc.point(BBB$Bdip, Msdr$M$pd, Msdr$M$td )


Run the code above in your browser using DataLab