lattice (version 0.3-1)

panel.xyplot: Default Panel Function for xyplot

Description

This is the default panel function for xyplot. Also see panel.superpose. The default panel functions for splom and qqmath are essentially the same function.

Usage

panel.xyplot(x, y, type="p",
             pch = plot.symbol$pch,
             col,
             col.line = plot.line$col,
             col.symbol = plot.symbol$col,
             lty = plot.line$lty,
             cex = plot.symbol$cex,
             lwd = plot.line$lwd, ...)
panel.splom(...) <- function (...) panel.xyplot(...)
panel.qqmath(...) <- function (...) panel.xyplot(...)

Arguments

x,y
coordinates of points to be plotted in the scatterplot
type
character vector consisting of one or more of the following: "p", "l", "h", "b", "o", "s", "S", "r", "smooth".

The behaviour if any of the first six are included in type is similar to the effect of type

col, col.line, col.symbol
default colours are obtained from plot.symbol and plot.line using trellis.par.get. These default instead to col when the latter is specified.
pch, lty, cex, lwd
other graphical parameters.
...
other arguments, e.g., arguments to pass to panel.loess.

Details

Creates scatterplot of x and y, with various modifications possible via the type argument. panel.qq also draws a 45 degree line.

See Also

panel.superpose, xyplot, splom,qqmath