Skip to content
Prev 27880 / 63424 Next

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

Hi Duncan,
On Sun, Mar 09, 2008 at 12:11:45PM -0400, Duncan Murdoch wrote:
I don't like lines() because it ONLY allows you to add to plots.  I could
send a patch for that too...

But I also like how plot() is polymorphic.  It's nice how you can do some
computation -- a regression, a histogram or whatever, and then just call plot()
on it, and you have a nice graphical representation of it.  But why stop
there... wouldn't it be nice if you could stack them on top of each other?
It's often useful to compare things by putting them on top of each other.
(Are 2 regression lines the same or similar?  Are two utility functions the
same? etc.)

Cheers,
Andrew