Learn R Programming

geophys (version 1.2-1)

Showfry: Show Fry Diagrams

Description

Show Fry Diagrams with random data

Usage

Showfry(RDAT, shear = matrix(c(1, 1.2, 0, 1)), rad = 75)

Arguments

RDAT
data list
shear
2D shearing matrix
rad
radius of points from the center from which to select the points for analysis.

Value

  • graphical side effects

Details

The original data is deformed and a circular subset is extracted for analysis. This is to show that the shape of the data does not affect the assessment of the fry ellipse. Plots input data and fry diagram, side by side.

References

Fry, N., (1979) Random point distributions and strain measurement in rocks Tectonophysics, 60:89-105.

See Also

dofry, plotfry, xtractlip

Examples

Run this code
RDAT = randFRY(400, LIM=c(0,0, 200, 200) , rlen=5   )
length(RDAT$x)
plot(RDAT$x, RDAT$y, asp=1, pch=".", cex=2)

u = par( no.readonly = TRUE)


par(mfrow=c(3,2))
    shr = 0.0
simpleshear = matrix(c(1, shr, 0,  1), ncol=2)

Showfry(RDAT, simpleshear, 75)
    shr = 1.2
simpleshear = matrix(c(1, shr, 0,  1), ncol=2)

Showfry(RDAT, simpleshear, 75)

epsilon1 = 0.4
H = matrix(c(1+epsilon1, 0, 0,  1/(1+epsilon1) ), ncol=2)

Showfry(RDAT, H, 75)

par(u)

Run the code above in your browser using DataLab