Learn R Programming

GEOmap (version 2.1)

SynAnticline: Syncline and Anticline traces

Description

Syncline and Anticline traces

Usage

SynAnticline(x, y, syn = TRUE, spacing = NULL, N = 1, r1 = 1, r2 = 1.2, h1 = 0, h2 = 0, endtol = 0.1, REV = FALSE, col = "black", ...)

Arguments

x
x-coordinates
y
y-coordinates
syn
logical, TRUE=syncline, FALSE=anticline
spacing
spacing of points
N
number of points
r1
x-radius of curled part
r2
y-radius of curled part
h1
length of first leg
h2
length of 2nd leg
endtol
indent on either ends
REV
reverse direction of x-y
col
color of teeth and line
...
graphical parameters

Value

  • Graphical Side effect

See Also

PointsAlong

Examples

Run this code
ff=list()
ff$x=c(-4.850,-4.700,-3.934,-2.528, 0.603, 2.647, 3.861, 2.626)
ff$y=c(-4.045,-2.087,-0.710, 0.172, 1.291, 2.087,-0.753,-4.131)

G =getsplineG(ff$x, ff$y, kdiv=20)

########  anticline
plot(c(-5,5), c(-5,5), asp=1, type='n' )

SynAnticline(G$x,G$y,  N=5, syn=FALSE, endtol=.2)

######## syncline
plot(c(-5,5), c(-5,5), asp=1, type='n' )
SynAnticline(G$x,G$y,  N=5, syn=FALSE, endtol=.2)

Run the code above in your browser using DataLab