Re: [R] Defining plot colors based on a variable

2009-02-02 Thread Andrew Singleton
Hadley and Thierry, thank you ­ ggplot2 is a great package and this worked perfectly. On 2/2/09 10:10 AM, "hadley wickham" wrote: > On Mon, Feb 2, 2009 at 8:56 AM, Andrew Singleton > wrote: >> > Hi, I have been trying unsuccessfully to plot data using different colors

[R] Defining plot colors based on a variable

2009-02-02 Thread Andrew Singleton
column, and the variables recoded 2, 7, 12, 34, 60, 64, 65, 70 and 71 are used, only 2 and 7 will be plotted). Many thanks for any suggestions/pointers, I have dug around in the help archives for a couple of hours but no joy. --- Andrew Singleto