\HeaderA{setdata}{Set default dataset for a plot}{setdata}
\keyword{hplot}{setdata}
\begin{Description}\relax
Set the default data set for a plot object
\end{Description}
\begin{Usage}
\begin{verbatim}setdata(p = .PLOT, data)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{p}] plot object, if not specified will use current plot
\item[\code{data}] new data set
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\end{Details}
\begin{Author}\relax
Hadley Wickham <h.wickham@gmail.com>
\end{Author}
\begin{Examples}
\begin{ExampleCode}\end{ExampleCode}
\end{Examples}

