Re: [R] setting specific colours for different groups of points on a scatter plot

2008-05-22 Thread Deepayan Sarkar
On 5/22/08, Sarah Kinnings <[EMAIL PROTECTED]> wrote: > Hi, > > I have a table with three columns of data, let's call these a, b and c. I > have produced a scatter plot of a against b, but I would like to colour the > points according to their corresponding c values. c takes the value of > either

[R] setting specific colours for different groups of points on a scatter plot

2008-05-22 Thread Sarah Kinnings
Hi, I have a table with three columns of data, let's call these a, b and c. I have produced a scatter plot of a against b, but I would like to colour the points according to their corresponding c values. c takes the value of either 0,1,2,3 or 4 and so I would like to colour all of the poi