Re: [R] lattice plotting character woes

2008-08-26 Thread Murray Jorgensen
[Rolf, this crosses with your reply. I will look at your email next.] I pasted the wrong code last time. The following code is supposed to illustrate my problem with lattice plotting character changes. patches <- structure(list(URBAN_AREA = structure(c(2L, 19L, 23L, 2L, 19L, 23L, 2L, 19L, 23

Re: [R] lattice plotting character woes

2008-08-26 Thread Murray Jorgensen
Hi Rolf, Hi Mark, Hi List, I have not digested Rolf's response yet. It may well answer my problems. In the meantime I have some reproducible code which actually shows my problem: patches <- structure(list(URBAN_AREA = structure(c(2L, 19L, 23L, 2L, 19L, 23L, 2L, 19L, 23L, 2L, 19L, 23L), .L

[R] lattice plotting character woes

2008-08-25 Thread Murray Jorgensen
The following reproducable code shows the setting of my problem: set.seed(260808) n = 50 x = rnorm(n) y = rnorm(n) z = ceiling(runif(n,0,4)) g = runif(n,0,6) G = factor(ceiling(g)) xyplot(y ~ x | G) plsy <- trellis.par.get("plot.symbol") plsy$pch = z trellis.par.set("plot.symbol",plsy) xyplot(y ~