ggplot_consolidation_doubledrained: ggplot consolidation in double-drained layer in time and...

View source: R/consolidation_time.R

ggplot_consolidation_doubledrainedR Documentation

ggplot consolidation in double-drained layer in time and space

Description

Plots a ggplot with development of consolidation in a double-drained layer, in space and time.

Usage

ggplot_consolidation_doubledrained(
  zd = NULL,
  Tv = NULL,
  zd_calc = seq(0, 2, l = 101),
  Tv_calc = c(seq(0.05, 0.2, 0.05), seq(0.3, 0.9, 0.1)),
  label_zd = 0.7,
  label_size = 3,
  label_alpha = 1,
  nround = 2
)

Arguments

zd

normalised depth for crosshair annotations

Tv

normalised time for crosshair annotation

zd_calc

normalised depth used to plot lines

Tv_calc

normalised time steps for which to plot lines

label_zd

depth position at which to plot time labels on traces

label_size

size of the text in time labels

label_alpha

opacity of the time labels

nround

number of decimals to use in rounding values in crosshair annotations

Value

a ggplot object

Examples

#empty chart
ggplot_consolidation_doubledrained()

#annotated chart
ggplot_consolidation_doubledrained(zd = 0.6, Tv = 0.3)

GJMeijer/soilmech documentation built on May 22, 2022, 10:39 a.m.