Skip to content
Prev 27955 / 63424 Next

[patch] add=TRUE in plot.default()

Andrew,

Here's is a way how your example could be coded with the current
implementation of plot.  You can always start with an empty plot and then
add lines or points (or both) using the corresponding functions.
The current approach saves specification of a couple of parameters that
would otherwise had to be specified, since lines(...) would be equivalent to
plot(..., type="l", add=TRUE), and I think that this adds to clarity.

-Christos