[R] post - plotting lines in a divided graphic device

2008-11-21 Thread _
Hi all, I have a graphic device divided in 2 areas for a plot. Is it possible to add lines or points in the first plot after the last one have been set, without plotting all the data again ? Example par(mfrow(2,1)) plot(1) plot(2) lines(c(1,2)) # should be visible in the first plot Thanks for

Re: [R] post - plotting lines in a divided graphic device

2008-11-21 Thread Prof Brian Ripley
On Fri, 21 Nov 2008, _ wrote: Hi all, I have a graphic device divided in 2 areas for a plot. Is it possible to add lines or points in the first plot after the last one have been set, without plotting all the data again ? See ?par, look at mfg. However, you would probably find screen() easier