\HeaderA{llines}{Lattice Replacements of base graphics functions}{llines}
\aliasA{larrows}{llines}{larrows}
\aliasA{lplot.xy}{llines}{lplot.xy}
\aliasA{lpoints}{llines}{lpoints}
\aliasA{lsegments}{llines}{lsegments}
\aliasA{ltext}{llines}{ltext}
\aliasA{panel.arrows}{llines}{panel.arrows}
\aliasA{panel.lines}{llines}{panel.lines}
\aliasA{panel.points}{llines}{panel.points}
\aliasA{panel.segments}{llines}{panel.segments}
\aliasA{panel.text}{llines}{panel.text}
\keyword{dplot}{llines}
\begin{Description}\relax
These functions are intended to replace some commonly used base R
graphics functions in panel functions.
\end{Description}
\begin{Usage}
\begin{verbatim}
larrows(x0, y0, x1, y1, length = 0.25, unit = "inches", ...)
llines(x, y, ...)
lplot.xy(xy, ...)
lpoints(x, ...)
lsegments(x0, y0, x1, y1, ...)
lsegments(x1, y1, x2, y2, ...)
ltext(x, ...)
panel.arrows(...)
panel.lines(...)
panel.points(...)
panel.segments(...)
panel.text(...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{ x, y, x0, y0, x1, y1, x2, y2, xy}] locations. x2, y2 present
for S compatibility

\item[\code{length, unit}] determines extent of arrow head.  \code{length} specifies the length
in terms of \code{unit}, which can be any valid grid unit as long as
it doesn't need a \code{data} argument.  \code{unit} defaults to
inches, which is the only option in the base version of the
function, \code{\LinkA{arrows}{arrows}}.

\item[\code{...}] other arguments, including ones to control graphical parameters like
color, line type, etc. For devices that support alpha-transparency,
a numeric argument \code{alpha} between 0 and 1 can be supplied. Be
careful with this, since for devices that do not support
alpha-transparency, nothing will be drawn at all if this is set to
anything other than 0.

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
These functions are meant to be grid replacements of the corresponding
base R graphics functions, to allow existing Trellis code to be used
with minimal modification.  The functions \code{panel.*} are
essentally identical to the \code{l*} versions, are recommended for
use in new code (as opposed to ported code) as they have more readable
names.

See the documentation of the base functions for usage. Not all
arguments are always supported. All these correspond to the default
methods only. For \code{ltext}, only values 0, .5 and 1 for \code{adj}
have any effect.
\end{Details}
\begin{Note}\relax
There's a new \code{type="H"} option wherever appropriate, which is
similar to \code{type="h"}, but with horizontal lines.
\end{Note}
\begin{Author}\relax
Deepayan Sarkar \email{Deepayan.Sarkar@R-project.org}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{points}{points}}, \code{\LinkA{lines}{lines}},
\code{\LinkA{text}{text}}, \code{\LinkA{segments}{segments}}, \code{\LinkA{arrows}{arrows}},
\code{\LinkA{Lattice}{Lattice}}
\end{SeeAlso}

