Learn R Programming

Eplot (version 1.0)

plott: plott

Description

Plotting longitudinal series.

Usage

plott(x, y = c(1:length(x)), add = FALSE, pch = 19, xlab = "", col = 1, main = NULL, ty = "b", return.to.default = TRUE, ...)

Arguments

x
series to be plotted.
y
possible second series, if provided a scatter plot is created.
add
if add = TRUE the series is added to existing active device. The active device graphical parameters must match, meaning it must be created using return.to.default=F.
pch
same as in par.
xlab
a label for the x axis, same as in plot.default.
main
main title of the plot, same as in plot.default.
col
Color of the series, same as in par.
ty
character indicating the type of plotting, any of the types as in plot.default.
return.to.default
for reverting back to previous par settings. Default is return.to.default=TRUE.
...
more graphical parameters can be given as arguments.

Value

Called for its side effect.

Details

Sets default parameters to get a nicer figure. If y is given then a scatter plot is created. y can also be of class Date. If add=TRUE, add the series to an existing device. Make a sensible choice as to which series should be plotted first so that the ylim and xlim cover are sufficient.

See Also

par, plot.default