ggplot_consolidation_averageprofiles: ggplot profile types for average layer consolidation times

View source: R/consolidation_time.R

ggplot_consolidation_averageprofilesR Documentation

ggplot profile types for average layer consolidation times

Description

Creates a ggplot object with the various profiles of initial excess pore water pressure (uniform, triangular) in open and half-closed soil layers. The average consolidation with time can be plotted with the function 'ggplot_consolidation_averagetime()'

Usage

ggplot_consolidation_averageprofiles(
  xmarg = 0.2,
  ymarg = 0.15,
  ymarg2 = 0.3,
  fill_pressure = "#2a7fff",
  color_layer = c("white", "black"),
  fill_layer = c("grey20", "#d3bc5f"),
  label_size = 3.5,
  case_names = c("Case A", "Case B", "Case C"),
  drain_names = c("Permeable", "Impermeable"),
  layer_names = c("Open layer", "Half-closed layer"),
  arrow_size = 0.4
)

Arguments

xmarg

relative horizontal offset of pressure profiles

ymarg

relative thickness of soil layers on bottom and top

ymarg2

relative distance between top and pressure arrow

fill_pressure

fill color of pore water pressure profiles

color_layer

text color of soil layer type annotation (impermeable, permeable)

fill_layer

fill color of soil layer annotations (impermeable, permeable)

label_size

text font size for all labels

case_names

names for cases: A, B and C

drain_names

names for drainage types: impermeable and permeable

layer_names

layer types: half-closed layer and open layer

arrow_size

length of arrow heads, in unit 'lines'

Value

a ggplot object

Examples

ggplot_consolidation_averageprofiles()

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