\HeaderA{picturePaths}{Draw Individual Picture Paths}{picturePaths}
\keyword{dplot}{picturePaths}
\begin{Description}\relax
This function individually draws each path from a \code{"Picture"} object.
\end{Description}
\begin{Usage}
\begin{verbatim}
picturePaths(picture, nr, nc,
             col = "black",
             fill = "light grey",
             freeScales = FALSE,
             xscale = NULL, yscale = NULL,
             label = function(n) {
               tg <- textGrob(n, x = 0, y = 0,
                              just = c("left", "bottom"),
                              gp = gpar(fontsize = 6))
               grid.rect(x = 0, y = 0,
                         height = unit(6, "points"),
                         width = grobWidth(tg),
                         just = c("left", "bottom"),
                         gp = gpar(fill = "white"))
               grid.draw(tg)
             }, use.gc = TRUE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{picture}] A \code{"Picture"} object. 
\item[\code{nr}] Number of rows of paths to draw. 
\item[\code{nc}] Number of columns of paths to draw. 
\item[\code{col}] Colour of border drawn around each path. 
\item[\code{fill}] Background colour drawn behind each path. 
\item[\code{freeScales}] A boolean indicating whether each path should
be drawn on its own scale.  If \code{FALSE}, all paths
are drawn on a common scale.  If \code{TRUE}, \code{xscale}
and \code{yscale} are ignored.
\item[\code{xscale}] A numeric vector of length two indicating the minimum and
maximum on the x-scale.
\item[\code{yscale}] A numeric vector of length two indicating the minimum
and maximum on the y-scale.
\item[\code{label}] Function to draw a label on each path. If any value
other than a function is specified, no labels are drawn. 
\item[\code{use.gc}] A boolean indicating whether to use the graphical
parameter information in the path. 
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Paul Murrell
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{grid.picture}{grid.picture}}
\end{SeeAlso}

