Re: [R] xyplot colour points and layout

2015-08-27 Thread Duncan Mackay
Hi Following on from Davids reply you can do the following if you want a key or legend. By putting the colour scheme in par.settings the "local" equivalent of setting trellis.par.set() for that plot you can get things right for the key without having to have add arguments to key culr<-ifelse(R

Re: [R] xyplot colour points and layout

2015-08-26 Thread David Winsemius
On Aug 26, 2015, at 8:41 PM, Christine Lee via R-help wrote: > Dear All, > > I have tried to plot graphs of one row of four figures for each station. In > each graph, black points indicate data in the year of 2002, denoted as Y2002, > whereas grey points indicate data in the year of 2014, den