\Header{grid.move.to}{Move to a Specified Position}
\alias{grid.line.to}{grid.move.to}
\keyword{dplot}{grid.move.to}
\begin{Description}\relax
Grid has the notion of a current location.  This function
sets that location.\end{Description}
\begin{Usage}
\begin{verbatim}
grid.move.to(x=0, y=0, default.units="npc", draw=TRUE, vp=NULL)
grid.line.to(x=1, y=1, default.units="npc", draw=TRUE, gp=gpar(), vp=NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A numeric value or a unit object specifying an x-value.
\item[\code{y}] A numeric value or a unit object specifying a y-value.
\item[\code{default.units}] A string indicating the default units to use
if \code{x} or \code{y} are only given as numeric values.
\item[\code{draw}] A logical value indicating whether graphics output
should be produced.
\item[\code{gp}] An object of class \code{gpar}, typically the output
from a call to the function \code{gpar}.  This is basically
a list of graphical parameter settings.
\item[\code{vp}] A Grid viewport object (or NULL).
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Paul Murrell\end{Author}
\begin{SeeAlso}\relax
\link{Grid},
\code{\Link{viewport}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
grid.newpage()
grid.move.to(0.5, 0.5)
grid.line.to(1, 1)
grid.line.to(0.5, 0)
push.viewport(viewport(x=0, y=0, w=0.25, h=0.25, just=c("left", "bottom")))
grid.rect()
grid.grill()
grid.line.to(0.5, 0.5)
pop.viewport()
\end{ExampleCode}
\end{Examples}

