panel.Stratiplot {analogue} | R Documentation |
A Lattice panel function for drawing individuals panels on stratigraphic diagrams using a range of plot types commonly used within palaeoecology.
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, fill = plot.symbol$fill, ...)
x, y |
variables defining the contents of the panel. |
type |
character vector consisting of one or more of the
following: "l" , "p" , "o" , "b" , "h" ,
"g" , "smooth" , and "poly" . It type has more
than one element, the effects of each component are combined, though
note that some elements will over-plot, and hence obscure, earlier
elements.
For type s "l" , "p" , "o" , "b" and
"g" the standard Lattice interpretation is observed. See
panel.xyplot for further details. Note that
type "b" is the same as type "o" .
"g" adds a reference grid using panel.grid in the
background.
For "h" , histogram-like bars are plotted from the
y-axis, not from the x-axis with plot and
panel.loess .
For "smooth" a loess fit is added to each panel using
panel.Loess .
For "poly" , a shaded polygon, or silhouette, is drawn for each
panel. |
col, col.line, col.symbol, col.poly, col.refline,
col.smooth |
colour parameters. For all but col.smooth ,
default colours are obtained from plot.symbol and
plot.line using
trellis.par.get . col.refline controls the
colour of the reference line drawn at value 0 on the x-axis. |
pch, cex, lty, lwd, fill |
other graphical parameters, defaults
for which are obtained from plot.symbol and plot.line
using trellis.par.get . |
lty.smooth |
line type for the loess smoother. The default is
obtained from plot.line using
trellis.par.get . |
lwd.smooth |
The line width for the loess smoother. |
... |
extra arguments passed on to the underlying panel
functions; panel.points ,
panel.lines ,
panel.segments ,
panel.polygon ,
panel.Loess and panel.refline . |
Creates stratigraphic scatter plots of x
and y
, with
various modifications possible via the type argument.
Note that all the arguments controlling the display can be supplied
directly to a high-level call of the function Stratiplot
.
Gavin L. Simpson
Stratiplot
, panel.Loess
,
panel.xyplot
.