Sunday, January 04, 2009

Adding new graph to existing plot

You can use plot for the first plot and points for the subsequent ones.

Points will add new points to the existing plot reusing the axes,
labels, etc.

e.g.

plot (x1, type="l", col="red")
points (x2, type="l")

No comments: