\Header{panel.xyplot}{Default Panel Function for xyplot}
\alias{panel.qq}{panel.xyplot}
\alias{panel.qqmath}{panel.xyplot}
\alias{panel.splom}{panel.xyplot}
\keyword{dplot}{panel.xyplot}
\begin{Description}\relax
This is the default panel function for \code{xyplot}. Also see
\code{panel.superpose}. The default panel functions for
\code{splom} and \code{qqmath} are essentially the same function.\end{Description}
\begin{Usage}
\begin{verbatim}
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(...)
panel.qq(...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x,y}] variables to be plotted in the scatterplot
\item[\code{type}] character vector consisting of one or more of the
following: \code{"p", "l", "h", "b", "o", "s", "S", "r", "smooth"}. 

The behaviour if any of the first six are included in \code{type} is
similar to the effect of \code{type} in \code{\Link{plot}}. 
\code{"r"} adds a  regression line (same as
\code{\Link{panel.lmline}}, except for default graphical
parameters), and \code{"smooth"} adds a lowess fit (same as
\code{\Link{panel.loess}}).

See example in \code{xyplot} for an example.

\item[\code{col, col.line, col.symbol}] default colours are obtained from \code{plot.symbol} and
\code{plot.line} using \code{\Link{trellis.par.get}}. These default
instead to \code{col} when the latter is specified.

\item[\code{pch, lty, cex, lwd}] other graphical parameters.

\item[\code{...}] extra arguments, if any, for \code{panel.xyplot}. In
most cases \code{panel.xyplot} ignores these. For types "r" and
"smooth", these are passed on to \code{panel.lmline} and
\code{panel.loess} respectively.

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Creates scatterplot of \code{x} and \code{y}, with various
modifications possible via the type argument. \code{panel.qq} draws a
45 degree line before calling \code{panel.xyplot}.\end{Details}
\begin{Author}\relax
Deepayan Sarkar
\email{deepayan@stat.wisc.edu}\end{Author}
\begin{SeeAlso}\relax
\code{\Link{panel.superpose}},
\code{\Link{xyplot}},
\code{\Link{splom}},\code{\Link{qqmath}}\end{SeeAlso}

