\HeaderA{prettyplot}{Pretty plot}{prettyplot}
\keyword{hplot}{prettyplot}
\begin{Description}\relax
Build a plot with all the usual bits and pieces.
\end{Description}
\begin{Usage}
\begin{verbatim}prettyplot(plot, title, xlabel, ylabel, legend=NULL)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{plot}] plot
\item[\code{title}] title (character vector)
\item[\code{xlabel}] x axis label (character vector)
\item[\code{ylabel}] y axis label (character vector)
\item[\code{legend}] legend grobs (list of grobs)
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
As well as the plotting area, a plot need:
\item main title
\item x and y axis labels
\item space for legends (currently on the right hand side)

This function sets up the appropriate viewports and packs the
various components in.  The viewport is set up so that each component
will only take up the amount of space that it requires.
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

