Dear R and sweave users A further problem, which I couldn't resolve, using the manual: In R I use the split.screen command to put e.g. two timecourses one above the other into one plot: split.screen(c(2,1)) screen(1) plot(stick,type='h', col="red",lwd=2) screen(2) plot(deconvolution.amplitude,type='h',col="blue",lwd=2) Is there a similar way, doing this in Sweave? many thanks Christoph -- Christoph Lehmann <christoph.lehmann at gmx.ch>
Christoph Lehmann wrote:> Dear R and sweave users > > A further problem, which I couldn't resolve, using the manual: In R I > use the split.screen command to put e.g. two timecourses one above the > other into one plot: > > split.screen(c(2,1)) > screen(1) > plot(stick,type='h', col="red",lwd=2) > screen(2) > plot(deconvolution.amplitude,type='h',col="blue",lwd=2) > > Is there a similar way, doing this in Sweave?I've never used split.screen. Check out ?par, and read the entries for mfcol and mfrow. Also check out ?layout. HTH Jason -- Indigo Industrial Controls Ltd. indigoindustrial.co.nz 64-21-343-545 jasont at indigoindustrial.co.nz