\HeaderA{recordPlot}{Record and Replay Plots}{recordPlot}
\aliasA{print.recordedplot}{recordPlot}{print.recordedplot}
\aliasA{replayPlot}{recordPlot}{replayPlot}
\keyword{iplot}{recordPlot}
\begin{Description}\relax
Functions to save the current plot in an \R{} variable, and to replay it.
\end{Description}
\begin{Usage}
\begin{verbatim}
recordPlot()
replayPlot(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A saved plot.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
These functions record and replay the displaylist of the current
graphics device.  The returned object is of class
\code{"recordedplot"}, and \code{replayPlot} acts as a \code{print}
method for that class.
\end{Details}
\begin{Value}
\code{recordPlot} returns an object of class \code{"recordedplot"}.

\code{replayPlot} has no return value.
\end{Value}
\begin{Section}{Warning}
The format of recorded plots may change between \R{} versions.
Recorded plots should \strong{not} be used as a permanent
storage format for \R{} plots.

\R{} will always attempt to replay a recorded plot, but if the plot was 
recorded with a different \R{} version then bad things may happen.
\end{Section}

