Skip to contents

Fabric plot of Hsü (1965)

Usage

hsu_fabric_plot(x, labels = NULL, add = FALSE, es.max = 3, ...)

Arguments

x

object of class "Vec3", "Line", or "Plane".

labels

character. text labels

add

logical. Should data be plotted to an existing plot?

es.max

maximum strain for scaling.

...

optional parameters passed to hsu_plot()

Value

plot and when stored as object, a list containing the Lode parameter lode and the natural octahedral strain es.

Examples

set.seed(20250411)
mu <- Line(120, 50)
x <- rvmf(100, mu = mu, k = 1)
hsu_fabric_plot(x, labels = "x")

set.seed(20250411)
y <- rvmf(100, mu = mu, k = 20)
hsu_fabric_plot(y, labels = "y", col = "red", add = TRUE)