Re: [R] ggplot pale colors

2011-05-29 Thread Victor Gabillon
Hi Ista, Thank you so much for your explanation!! I know now how to handle this scale_color_manual() function. Le 28/05/2011 19:56, Ista Zahn a écrit : Hi Victor, The problem is that you have not grasped the difference between setting an aesthetic to a fixed value and mapping it to a

[R] ggplot pale colors

2011-05-28 Thread Victor Gabillon
Hello i am new to ggplot and i observed a strange behavior. I want to display two groups of points, each group with a different color. But i encountered a problem with the colors. Here is a first example: dataset - data.frame(Main = c(A, A, B, B), Detail = c( b, c, 1, 2), resp = runif(4,

Re: [R] ggplot pale colors

2011-05-28 Thread Ista Zahn
Hi Victor, The problem is that you have not grasped the difference between setting an aesthetic to a fixed value and mapping it to a variable. See below for details. On Sat, May 28, 2011 at 6:16 AM, Victor Gabillon victor.gabil...@inria.fr wrote: Hello i am new to ggplot and i observed a strange