Thanks. I tried you suggestion and it indeed solves the problem. For the
sample code below the appropriate substitute to the curve function is:
xv = seq(0, 3, by = .05)
yv = sin(xv)
yv.new = cos(xv)
p.12 = xyplot(yv + yv.new ~ xv, type="l", lty=c(1,5), col="black")
On 11/10/08 2:09 PM, "Greg
The xyplot function is a lattice function that uses grid graphics. The curve
function is a base graphics function. 'par' and 'layout' work with base
graphics, the print idea works with grid graphics. Grid graphics and base
graphics don't mix easily. One option is to find a grid/lattice/ggplo
2 matches
Mail list logo