R/addVolumeFraction.R
addVolumeFraction.Rd
Symbolize volume fraction on an existing soil profile collection plot.
addVolumeFraction(
x,
colname,
res = 10,
cex.min = 0.1,
cex.max = 0.5,
pch = 1,
col = "black"
)
a SoilProfileCollection
object
character vector of length 1, naming the column containing volume fraction data (horizon-level attribute). Values should be within 0-100 percent.
integer, resolution of the grid used to symbolize volume fraction
minimum symbol size
maximum symbol size
integer, plotting character code
symbol color, either a single color or as many colors as there are horizons in x
This function can only be called after plotting a SoilProfileCollection
object. Details associated with a call to plotSPC()
are automatically accounted for within this function: e.g. plot.order
, width
, etc..
It may be necessary to adjust both res
, cex.min
, and cex.max
for optimal legibility.