[R] Variable names in lattice XY-plot

2009-07-03 Thread ukoenig
Hi, how can I get a more descriptive text instead of the variable names in my XY-lattice plot, according to the table below? Variabletext acet = Acetylaspartate Thalamus chol = Choline Thalamus acetp= Acetylaspartate parieoc ino = Inositole Thalamus I could not find a

Re: [R] Variable names in lattice XY-plot

2009-07-03 Thread baptiste auguie
?strip.custom p - xyplot(acet+chol+ino+acetp ~ zp, group=grp, data=data, type=l, scales=list(relation=free), auto.key=list(title= Neurotransmitters, border=TRUE)) update(p, strip=strip.custom(factor.levels=letters[1:4])) HTH, baptiste 2009/7/3

Re: [R] Variable names in lattice XY-plot

2009-07-03 Thread Deepayan Sarkar
On Fri, Jul 3, 2009 at 1:02 PM, baptiste auguiebaptiste.aug...@googlemail.com wrote: ?strip.custom p - xyplot(acet+chol+ino+acetp ~ zp, group=grp, data=data, type=l, scales=list(relation=free), auto.key=list(title= Neurotransmitters, border=TRUE)) update(p,

Re: [R] Variable names in lattice XY-plot

2009-07-03 Thread ukoenig
Thanks a lot Baptiste and Deepayan! That was very helpful-things can be so easy... -Udo Quoting Deepayan Sarkar deepayan.sar...@gmail.com: On Fri, Jul 3, 2009 at 1:02 PM, baptiste auguiebaptiste.aug...@googlemail.com wrote: ?strip.custom p - xyplot(acet+chol+ino+acetp ~ zp,