Re: [R] xyplot of function only shows diagonal plots

2010-07-15 Thread DrHatch
Ahh... That's how it works... embedding df <- expand.grid(x=x,a=a,b=b) x <- df$x; a <- df$a; b <- df$b gave the desired results. Thanks for helping a beginner. -Hc. Deepayan Sarkar wrote: > . > That you haven't created all the (a, b) combinations you want: you are > plotting these combination

[R] xyplot of function only shows diagonal plots

2010-07-07 Thread DrHatch
I expected this script to show nine panels, each with a plot of the function. But when I run it, only the diagonal panels have content. Executing > print(trel_1) shows what I expected in the upper left corner. I am using R ver. 2.11.0 and lattice ver. 0.18-8 on Windows XP under Eclipse and StatE