Skip to content
Prev 170208 / 398503 Next

two scatter plots in one

Set the xlim/ylim to the extent of the data and then do

plot(x1, y1, xlim=range(x1, x2), ylim=range(y1, y2))
points(x2, y2, col='red')
On Wed, Feb 11, 2009 at 3:43 PM, liujb <liujulia7 at yahoo.com> wrote: