View source: R/elastic_solutions.R
ggplot_stress_triangularstrip | R Documentation |
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
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 )
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 |
ggplot object
#plot empty chart ggplot_stress_triangularstrip() #plot with annotation ggplot_stress_triangularstrip(xB = 1, zB = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.