Learn R Programming

RFOC (version 1.0-4)

ternfoc.point: Plot Ternary Point

Description

Add a point to a ternary plot

Usage

ternfoc.point(deltaB, deltaP, deltaT)

Arguments

deltaB
angle, degrees
deltaP
angle, degrees
deltaT
angle, degrees

Value

  • List
  • hvector of x coordinates
  • vvector of y coordinates

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