Re: [R] ggplot pale colors

2011-05-29 Thread Victor Gabillon
. See below for details. On Sat, May 28, 2011 at 6:16 AM, Victor Gabillon wrote: 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

[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"), r

Re: [R] barplot groups of different size i.e. height is NOT a matrix

2011-05-28 Thread Victor Gabillon
Thanks for the help! In the end, i chose to use ggplot which creates really simply different panels. And I am replacing my bars by simple points in the end. Victor __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] barplot groups of different size i.e. height is NOT a matrix

2011-05-25 Thread Victor Gabillon
Hello, I want to use the function barplot do display several group of bars. A standard example is given at this link http://onertipaday.blogspot.com/2007/05/make-many-barplot-into-one-plot.html But in their example the 4 groups of bars are all composed of 8 bars. I want to be able do display the

Re: [R] Change the text size of the title in a legend of a R plot.

2011-04-29 Thread Victor Gabillon
goes out of the border as the borders were not designed for the case of a big title. Thanks again!! Victor Le 29/04/2011 10:03, Jannis a écrit : On 04/29/2011 05:21 AM, Victor Gabillon wrote: Horizo <- c(1,2,6,10,20) legtext <- paste(Horizo,sep="") legend("topleft&quo

[R] Change the text size of the title in a legend of a R plot.

2011-04-28 Thread Victor Gabillon
Hello, Is it possible to change the text size of the title in a legend of a R plot? I tried to directly change the title.cex argument but it seems not to work. Trying : Horizo <- c(1,2,6,10,20) legtext <- paste(Horizo,sep="") legend("topleft", legend=legtext,col=col,text.col=col,lwd=lwd, lty=l