Rev 761 | Rev 5400 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{panel.levelplot}\alias{panel.levelplot}\alias{panel.contourplot}\title{ Default Panel Function for levelplot }\description{This is the default panel function for \code{levelplot}.}\usage{panel.levelplot(x, y, z,subscripts,at = pretty(z),shrink,labels = NULL,label.style = c("mixed", "flat", "align"),contour = FALSE,region = TRUE,col = add.line$col,lty = add.line$lty,lwd = add.line$lwd,cex = add.text$cex,font = add.text$font,fontfamily = add.text$fontfamily,fontface = add.text$fontface,col.text = add.text$col,\dots,col.regions = regions$col,alpha.regions = regions$alpha)panel.contourplot(\dots)}\arguments{\item{x, y, z}{ variables defining the plot }\item{subscripts}{integer vector indicating what subset of \code{x}, \code{y} and\code{z} to draw}\item{at}{numeric vector specifying breakpoints for change in colors}\item{shrink}{either a numeric vector of length 2 (meant to work as both x and ycomponents), or a list with components x and y which are numericvectors of length 2. This allows the rectangles to be scaledproportional to the z-value. The specification can be madeseparately for widths (x) and heights (y). The elements of thelength 2 numeric vector gives the minimum and maximum proportion ofshrinkage (corresponding to min and max of z).}\item{labels}{contour labels}\item{label.style}{controls choice of how label positions are determined.}\item{contour}{logical, specifying whether contour lines should bedrawn}\item{region}{logical, specifying whether inter-contour regions should be filledwith the appropriate color}\item{col, lty, lwd}{ graphical parameters for contour lines}\item{cex, col.text, font, fontfamily, fontface}{ graphical parameters for contour labels}\item{\dots}{ extra parameters }\item{col.regions}{a vector of colors used if \code{region=TRUE}. Usually a subset ofthe colors are used, the exact number being one more than the lengthof \code{at}. These are chosen to be roughly equally spaced along\code{col.regions}. In the unusual case when \code{col.regions} isnot longer than \code{at}, it is repeated to be as long asnecessary.}\item{alpha.regions}{numeric scalar controlling transparency of facets}}\details{The same function is used for both \code{levelplot} and\code{contourplot} (which differ only in default values of somearguments). \code{panel.contourplot} is a simple wrapper to\code{panel.levelplot}.When \code{contour=TRUE}, the \code{contourLines} function is used tocalculate the contour lines.}\author{ Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}}\seealso{\code{\link{levelplot}}, \code{\link{contourLines}} }\keyword{dplot}