\HeaderA{pop.viewport}{Pop a Viewport off the Grid Viewport Stack}{pop.viewport}
\keyword{dplot}{pop.viewport}
\begin{Description}\relax
Grid maintains a viewport stack --- a list of nested drawing
contexts.

This function makes the parent of the specified viewport the
new default viewport.
\end{Description}
\begin{Usage}
\begin{verbatim}
pop.viewport(n=1, recording=TRUE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{n}] An integer giving the number of viewports to pop.
Defaults to 1.
\item[\code{recording}] A logical value to indicate whether the set-viewport
operation should be recorded on the Grid display list.
\end{ldescription}
\end{Arguments}
\begin{Value}
None.
\end{Value}
\begin{Section}{Warning}
This function has been deprecated.  Please use \code{popViewport}
instead.
\end{Section}
\begin{Author}\relax
Paul Murrell
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{push.viewport}{push.viewport}}.
\end{SeeAlso}

