Re: [R] ggplot2: using more than 6 symbols

2008-11-17 Thread Dave Murray-Rust
On 17 Nov 2008, at 13:00, hadley wickham wrote: Hi Dave, On Mon, Nov 17, 2008 at 6:35 AM, Dave Murray-Rust <[EMAIL PROTECTED]> wrote: I'm trying to plot multiple lines using different colours/symbols to distinguish them. If I try to plot more than 6 lines, I get an error: ggplot( dat, aes(x

Re: [R] ggplot2: using more than 6 symbols

2008-11-17 Thread hadley wickham
Hi Dave, On Mon, Nov 17, 2008 at 6:35 AM, Dave Murray-Rust <[EMAIL PROTECTED]> wrote: > I'm trying to plot multiple lines using different colours/symbols to > distinguish them. If I try to plot more than 6 lines, I get an error: > >> ggplot( dat, aes(x=time,y=value,group=variable,shape=variable) )

[R] ggplot2: using more than 6 symbols

2008-11-17 Thread Dave Murray-Rust
I'm trying to plot multiple lines using different colours/symbols to distinguish them. If I try to plot more than 6 lines, I get an error: > ggplot( dat, aes(x=time,y=value,group=variable,shape=variable) ) + geom_line() Error: scale_shape can deal with a maximum of 6 discrete values, but yo