[R] Multiple plots in one subplot

Rolf Turner rolf.turner at xtra.co.nz
Fri Dec 16 09:45:05 CET 2011


On 16/12/11 19:36, annek wrote:
> Hi,
> I making a figure with six sub-plots using par(mfcol=c(2,3)). In the last
> sub-plot I want to have two graphs instead of one. I have tried using
> par(fig=x,y,z,v) but this par seems to overwrite the first par. Is there a
> simple solution?
If I understand you correctly you simply need to use points() and/or 
lines().
See the help for these.

If these functions do not solve your problem you'll have to make your
question clearer.

     cheers,

         Rolf Turner



More information about the R-help mailing list