Re: [R] ggplot2: specifying legend titles

2009-03-20 Thread hadley wickham
On Fri, Mar 20, 2009 at 9:07 AM, Etches Jacob wrote: > I am trying to specify a legend title to be other than the variable name, > but I find that the legend splits because scale_shape() takes effect but > scale_colour() does not.  Can someone spot my error?  Here's some toy code > that produces t

[R] ggplot2: specifying legend titles

2009-03-20 Thread Etches Jacob
I am trying to specify a legend title to be other than the variable name, but I find that the legend splits because scale_shape() takes effect but scale_colour() does not. Can someone spot my error? Here's some toy code that produces the problem on my system (R2.8.1, windows, today's CRAN