ggplot_stress_triangularstrip: ggplot influence factors for stress underneath triangular...

View source: R/elastic_solutions.R

ggplot_stress_triangularstripR Documentation

ggplot influence factors for stress underneath triangular strip foundation

Description

Creates a ggplot chart with contour lines and heat map (optional) for the influence factors for stress underneath a triangular strip load. Assumes elastic solutions are valid

Usage

ggplot_stress_triangularstrip(
  direction = "z",
  nu = 0.3,
  xlim = c(-1, 2),
  ylim = c(0, 3.5),
  gridsize = 0.05,
  contour_width = 0.1,
  contour_label = c(0, 0.1, 0.2, 0.4, 0.6, 0.8, 1),
  showgrid = TRUE,
  larrow = 0.3,
  lsize = 3.5,
  labelsize = 3,
  palette = "Blues",
  xB = NULL,
  zB = NULL,
  nround = 3
)

Arguments

direction

the direction of the stress of interest. 'z' for vertical, 'x' for horizontal away from strip, 'y' for horizontal in direction of strip, and 'xz' for shear stress

nu

Poisson's ratio, required for stress in y-direction

xlim

2-value array with limits for x-axis

ylim

2-value array with limits for depth axis

gridsize

grid size for calculations

contour_width

I-interval between contour lines

contour_label

values of I for which to draw contour lines

showgrid

if 'TRUE', heatmap of influence factors is shown in background of the plot

larrow

length of load arrows (in normalised coordinates)

lsize

thickness of load arrows

labelsize

size of labels on contour lines

palette

RColorBrewer palette for heat map

xB

crosshairs annotation

zB

crosshairs annotation

nround

number of decimals in crosshairs I label

Value

ggplot object

Examples

#plot empty chart
ggplot_stress_triangularstrip()

#plot with annotation
ggplot_stress_triangularstrip(xB = 1, zB = 2)

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