plot.xy | R Documentation |
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.
plot.xy(xy, type, pch = par("pch"), lty = par("lty"), col = par("col"), bg = NA, cex = 1, lwd = par("lwd"), ...)
xy |
A four-element list as results from
|
type |
1 character code: see |
pch |
character or integer code for kind of points, see
|
lty |
line type code, see |
col |
color code or name, see |
bg |
background (fill) color for the open plot symbols 21:25:
see |
cex |
character expansion. |
lwd |
line width, also used for (non-filled) plot symbols, see
|
... |
further graphical parameters such as |
The arguments pch
, col
, bg
, cex
,
lwd
may be vectors and may be recycled, depending on
type
: see points
and lines
for
specifics. In particular note that lwd
is treated as a vector
for points and as a single (first) value for lines.
cex
is a numeric factor in addition to par("cex")
which
affects symbols and characters as drawn by type
"p"
,
"o"
, "b"
and "c"
.
plot
,
plot.default
,
points
,
lines
.
points.default # to see how it calls "plot.xy(xy.coords(x, y), ...)"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.