Usage
plotSPC(x, color='soil_color', width=0.2, name=NULL, label=idname(x),
alt.label=NULL, alt.label.col='black', cex.names=0.5,
cex.depth.axis=cex.names, cex.id=cex.names+(0.2*cex.names),
print.id=TRUE, id.style='auto', plot.order=1:length(x), add=FALSE,
scaling.factor=1, y.offset=0, x.idx.offset=0, n=length(x),
max.depth=max(x), n.depth.ticks=5, shrink=FALSE,
shrink.cutoff=3, abbr=FALSE, abbr.cutoff=5, divide.hz=TRUE,
hz.distinctness.offset=NULL, hz.distinctness.offset.col='black',
hz.distinctness.offset.lty=2, axis.line.offset=-2.5,
plot.depth.axis=TRUE, density=NULL, col.label=color,
col.palette = rev(brewer.pal(10, 'Spectral')), lwd=1, lty=1, ...)
Arguments
x
a SoilProfileCollection object
color
the name of the column containing R-compatible color descriptions, or a column containing numeric data; see details
width
scaling of profile widths
name
the name of the (horizon-level) attribute containing horizon designation labels
label
the name of the (site-level) attribute used to identify profiles in the plot
alt.label
the name of a (site-level) attribute used for seconary annotation
alt.label.col
color used when printing secondary annotation
cex.names
character scaling applied to horizon names
cex.depth.axis
character scaling applied to depth scale
cex.id
character scaling applied to profile id
print.id
should the profile id be printed above each profile? (TRUE)
id.style
profile ID printing style: 'auto' (default) = simple heuristic used to select from: 'top' = centered above each profile, 'side' = 'along the top-left edge of profiles'
plot.order
a vector describing the order in which individual SoilProfile objects from the parent should be plotted
add
add to an existing figure
scaling.factor
vertical scaling of the profile heights
y.offset
vertical offset for top of profiles
x.idx.offset
integer specifying horizontal offset from 0
n
integer describing amount of space along x-axis to allocate, defaults to length(x)
max.depth
suggested lower depth boundary of plot
n.depth.ticks
suggested number of ticks in depth scale
shrink
should long horizon names be shrunk by 80% ?
shrink.cutoff
character length defining long horizon names
abbr
should the profile ID be abbreviated?
abbr.cutoff
suggested minimum length for abbreviated IDs
divide.hz
should horizons be divided with a thin black line? (default is TRUE)
hz.distinctness.offset
column name containing vertical offsets used to depict horizon boundary distinctness (same units as profiles)
hz.distinctness.offset.col
color used to encode horizon distinctness (default is 'black')
hz.distinctness.offset.lty
line style used to encode horizon distinctness (default is 2)
axis.line.offset
horizonatal offset applied to depth axis (default is -2.5)
plot.depth.axis
plot depth axis? (default is TRUE)
density
fill density used for horizon color shading, either a single integer or a column name containing integer values (default is NULL, no shading)
col.label
text printed above the color-coded legend
col.palette
color palette used to plot numeric data
lwd
single numeric value: line width multiplier
lty
single integert: line style
...
other arguments passed into lower level plotting functions