\HeaderA{plot.xy}{Basic Internal Plot Function}{plot.xy}
\keyword{aplot}{plot.xy}
\begin{Description}\relax
This is \emph{the} internal function that does the basic plotting of
points and lines.  Usually, one should rather use the higher level
functions instead and refer to their help pages for explanation of the
arguments.
\end{Description}
\begin{Usage}
\begin{verbatim}
plot.xy(xy, type, pch = 1, lty = "solid", col = par("fg"), bg = NA,
        cex = 1, lwd = par("lwd"), ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{xy}] A four-element list as results from
\code{\LinkA{xy.coords}{xy.coords}}.
\item[\code{type}] 1 character code: see \code{\LinkA{plot.default}{plot.default}}.
\item[\code{pch}] character or integer code for kind of points/lines, see
\code{\LinkA{points.default}{points.default}}.
\item[\code{lty}] line type code, see \code{\LinkA{lines}{lines}}.
\item[\code{col}] color code or name, see \code{\LinkA{colors}{colors}},
\code{\LinkA{palette}{palette}}.
\item[\code{bg}] background (\dQuote{fill}) color for the open plot symbols 21:25:
see \code{\LinkA{points.default}{points.default}}.
\item[\code{cex}] character expansion.
\item[\code{lwd}] line width, also used for (non-filled) plot symbols, see
\code{\LinkA{lines}{lines}} and \code{\LinkA{points}{points}}.
\item[\code{...}] further graphical parameters.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The arguments \code{pch, col, bg, cex, lwd} may be vectors and
may be recycled, depending on \code{type}: see \code{\LinkA{points}{points}} and
\code{\LinkA{lines}{lines}} for specifics.
\end{Details}
\begin{SeeAlso}\relax
\code{\LinkA{plot}{plot}},
\code{\LinkA{plot.default}{plot.default}},
\code{\LinkA{points}{points}},
\code{\LinkA{lines}{lines}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
points.default # to see how it calls "plot.xy(xy.coords(x, y), ...)"
\end{ExampleCode}
\end{Examples}

