panel.Stratiplot {analogue} | R Documentation |
Panel function for stratigraphic diagrams
Description
A Lattice panel function for drawing individuals panels on stratigraphic diagrams using a range of plot types commonly used within palaeoecology.
Usage
panel.Stratiplot(x, y,
type = "l",
col,
pch = plot.symbol$pch,
cex = plot.symbol$cex,
col.line = plot.line$col,
col.symbol = plot.symbol$col,
col.refline = ref.line$col,
col.smooth = "red",
col.poly = plot.line$col,
lty = plot.line$lty,
lwd = plot.line$lwd,
lty.smooth = plot.line$lty,
lwd.smooth = 2,
lwd.h = 3,
fill = plot.symbol$fill,
zones = NULL,
col.zones = plot.line$col,
lty.zones = plot.line$lty,
lwd.zones = plot.line$lwd,
gridh = -1, gridv = -1,
...)
Arguments
x , y |
variables defining the contents of the panel. |
type |
character vector consisting of one or more of the
following: For
For For For |
col , col.line , col.symbol , col.poly , col.refline , col.smooth , col.zones |
colour parameters. For all but |
pch , cex , lty , lwd , fill |
other graphical parameters, defaults
for which are obtained from |
lty.smooth |
line type for the loess smoother. The default is
obtained from |
lwd.smooth , lwd.h |
The line width for the loess smoother and histogram-like bars respectively. |
zones |
numeric; vector of zone boundary positions on scale of the depth/time (y-)axis. |
lty.zones , lwd.zones |
line type and width for the zone
markers. The defaults are obtained from |
gridh , gridv |
numeric arguments corresponding to |
... |
extra arguments passed on to the underlying panel
functions; |
Details
Creates stratigraphic scatter plots of x
and y
, with
various modifications possible via the type argument.
Zones can be drawn on the panels by supplying the numeric vector of
zone boundaries as argument zones
. The panel function will then
draw horizontal lines across the panels at the desired y-axis
locations. Note that the panel function does not attempt to
identify the zone boundaries automatically; these must be determined
via a chronological (constrained) cluster analysis function or
similar.
Note that all the arguments controlling the display can be supplied
directly to a high-level call of the function Stratiplot
.
Note
Histogram-like bars (type = "h"
) are drawn with lineend =
"butt"
to improve their appearance. This can not be changed by the
user and you can't include that grid parameter in any call to
panel.Stratiplot
that uses type = "h"
.
Author(s)
Gavin L. Simpson
See Also
Stratiplot
, panel.Loess
,
panel.xyplot
.