\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, plotgrob, scales=plot$scales, cs=plot$coordinates)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{plot}] plot
\item[\code{plotgrob}] plot grob
\item[\code{scales}] 
\item[\code{cs}] 
\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)

These are stored as options in the plot object.

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}

