plot {base} | R Documentation |
Generic function for plotting of R objects.
For more details about the graphical parameter arguments, see par
.
A longer description will go here eventually.
plot(x, y, xlim=range(x), ylim=range(y), type="p",
main, xlab, ylab, ...)
x , y |
the coordinates of points in the plot. Alternatively, a single plotting structure can be provided. |
xlim , ylim |
the ranges to be encompased by the x and y axes. |
type |
what type of plot should be drawn. Possible types are
|
main |
an overall title for the plot. |
xlab |
a title for the x axis. |
ylab |
a title for the y axis. |
... |
graphical parameters can be given as arguments to |
plot.default
, points
, lines
, par
.
plot(cars)
lines(lowess(cars))