plot.xy {graphics} | R Documentation |
Basic Internal Plot Function
Description
This is 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.
Usage
plot.xy(xy, type, pch = 1, lty = "solid", col = par("fg"), bg = NA,
cex = 1, lwd = par("lwd"), ...)
Arguments
xy |
A four-element list as results from
|
type |
1 character code. |
pch |
character or integer code for kind of points/lines, see
|
lty |
line type code, see |
col |
color code or name, see |
bg |
background (“fill”) color for open plot symbols. |
cex |
character expansion. |
lwd |
line width, also used for (non-filled) plot symbols, see
|
... |
further graphical parameters. |
Details
The arguments pch, col, bg, cex, lwd
are may be vectors and
recycled, depending on type
, see points
and
lines
for specifics.
See Also
plot
,
plot.default
,
points
,
lines
.
Examples
points.default # to see how it calls "plot.xy(xy.coords(x, y), ...)"