View source: R/classification_triangle.R
ggplot_classificationtriangle_part2 | R Documentation |
Function returns ggplot of the second part of the BS soil classification chart: the square bottom part
ggplot_classificationtriangle_part2( fines = NULL, clay = NULL, group = NULL, grid_ticks = 10, grid_label = 20, tick_length = 2, label_length = 7, label_size = 2, title_length = 15, title_size = 3, soil_size = 2, soil_size2 = 1.4, soil_spacing = 0.75, polygon_line = 0.4, polygon_color = "grey60", xlim = c(-0.2, 1.2), ylim = c(-0.2, 1.2) )
fines |
fraction of fines for crosshair annotation |
clay |
fraction of clay for crosshair annotation |
group |
grouping for crosshair annotation (label) |
grid_ticks |
distance between axis ticks, in % |
grid_label |
distance between axis tick labels, in % |
tick_length |
length of tick mark, in % |
label_length |
distance of tick label to chart axis, in % |
label_size |
font size of tick label |
title_length |
distance to axis title to chart, in % |
title_size |
font size of axis title |
soil_size |
font size of soil labels |
soil_size2 |
font size of soil labels, for the small ones in the middle of the triangular plot |
soil_spacing |
line spacing for soil labels |
polygon_line |
thickness of soil polygon lines |
polygon_color |
color of soil polygon lines |
xlim |
plot x-limits |
ylim |
plot y-limits |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.