Displaying 1 result from an estimated 1 matches for "trel_3".
Did you mean:
trel_1
2010 Jul 07
1
xyplot of function only shows diagonal plots
...a <- c( 1 )
b <- c( 3 )
trel_1 <- xyplot(f(x,a,b) ~ x | a * b, , type = "l",
main = "1x1", ylab = "f(x)", xlab = "x",
xlim = c(-6,6), ylim = c(-6,6), )
# case 3x3
a <- c(1,2,3)
b <- c(1,2,3)
trel_3 <- xyplot(f(x,a,b) ~ x | a * b, , type = "l",
main = "3x3", ylab = "f(x)", xlab = "x",
xlim = c(-6,6), ylim = c(-6,6), )
print(trel_3)
#print(trel_1)
--- end of simple.R ---