# Generate litholog ----
l <- c(0,1,2,3,4)
r <- c(1,2,3,4,5)
h <- c(4,3,4,3,4)
i <- c("B1","B2","B3","B4","B5")
log <- litholog(l, r, h, i)
# Modify the boundaries of the litholog ----
nlog <- weldjoint(log, c(1,2,3,4), oufti99,
sym = c("1sin", "stylolith", "3sin", "liquefaction"),
ymax = c(NA, NA, NA, 0.2),
xmin = c(0,0,0,1),
xmax = c(4,4,4,1.5))
# Visualise
par(mfrow = c(1,2))
plot.new()
plot.window(xlim = c(0,5), ylim = c(0,5))
axis(1)
axis(2)
multigons(log$i, log$xy, log$dt)
plot.new()
plot.window(xlim = c(0,5), ylim = c(0,5))
axis(1)
axis(2)
multigons(nlog$i, nlog$xy, nlog$dt)
Run the code above in your browser using DataLab