Skip to contents

Plot Mohr Circle in ggplots

Usage

ggMohr(
  s1,
  s2,
  s3,
  coulomb = c(70, 0.6),
  sliding = 0.81,
  units = "MPa",
  fill = "gray",
  alpha = 0.5
)

Arguments

s1, s2, s3

numeric

coulomb

numeric 2 element vector. Coulomb criteria (c(70, 0.6))

sliding

Sliding criteria (0.81 by default)

units

units of the s1, s2, and s3 ("MPa" by default).

fill

fill color of Mohr circle

alpha

opacity of Mohr circle

Examples

ggMohr(1025, 400, 250)
#> Warning: is.na() applied to non-(list or vector) of type 'expression'
#> Warning: is.na() applied to non-(list or vector) of type 'expression'
#> Warning: is.na() applied to non-(list or vector) of type 'expression'
#> Warning: is.na() applied to non-(list or vector) of type 'expression'