Skip to content
Prev 30447 / 398513 Next

How to plot several graphs in a single 2-D figure?

1.  Use xlim and ylim in plot(...) to make sure the axes are the same.

2.  For overlaying graphs, use plot(..., axes=FALSE, xlab="", ylab="") to
suppress the axes and labels.

Andy
------------------------------------------------------------------------------