faultplane | R Documentation |
given azimuth and dip of fault mechanism, calculate and plot the fault plane.
faultplane(az, dip, col = par("col"), PLOT = TRUE, UP = FALSE,lwd=2, lty=1, ...)
az |
degrees, strike of the plane (NOT down dip azimuth) |
dip |
degrees, dip from horizontal |
col |
color for line |
PLOT |
option for adding to plot |
UP |
upper or lower hemisphere |
lwd |
Line Width |
lty |
Line Type |
... |
graphical parameters |
Azimuth is the strike in degrees, not the down dip azimuth as described in other routines.
list of points along fault plane
x |
coordinates on focal sphere |
y |
coordinates on focal sphere |
Jonathan M. Lees <jonathan.lees@unc.edu>
Beachfoc
gcol='black'
border='black'
ndiv=36
phi = seq(0,2*pi, by=2*pi/ndiv);
x = cos(phi);
y = sin(phi);
plot(x,y, type='n', asp=1)
lines(x,y, col=border)
lines(c(-1,1), c(0,0), col=gcol)
lines(c(0,0), c(-1,1), col=gcol)
faultplane(65, 34)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.