Re: [R] lattice - 2 graphs per panel with 2 differents colours

2009-12-13 Thread S Devriese
On 12/11/2009 02:03 PM, PtitBleu wrote: > Hello, > > I would like to get a lattice plot of 8 panels (unique(df$fact)=8) with 2 > graphs (df$y1 and df$y2 as a function of df$x) and 1 red point at (500, > ymax) per panel. > > The script below is quite ok but I'm not able to define two different color

[R] lattice - 2 graphs per panel with 2 differents colours

2009-12-11 Thread PtitBleu
Hello, I would like to get a lattice plot of 8 panels (unique(df$fact)=8) with 2 graphs (df$y1 and df$y2 as a function of df$x) and 1 red point at (500, ymax) per panel. The script below is quite ok but I'm not able to define two different colors for the two graphs. If you have an idea how to us