search for: greylight

Displaying 1 result from an estimated 1 matches for "greylight".

Did you mean: greenlight
2008 Aug 01
0
standardize ggplot and lattice themes
...ce theme for the following example? Best wishes, baptiste > library(ggplot2) > library(lattice) > > # example data > x <- seq(0, 10, len = 100) > y1 <- jitter(sin(x), 1000) > y2 <- 0.5*jitter(cos(x), 1000) > > # custom colors > greyDark <- grey(0.5) > greyLight <- grey(0.9) > myColors <- c( "#E41A1C", "#377EB8") > palette(myColors) > > # here is the ggplot2 version > df <- melt(data.frame(x=x, one=y1, two=y2), id="x") > p <- qplot(x,value, data=df,colour=variable, linetype=variable, > main=&...