Displaying 2 results from an estimated 2 matches for "scale_colour_identity".
2010 Feb 12
1
Need help on boxplot panel chart
...(i.e., Loc is X axis and
OV value is Y axis). Because there are three SP, I may need total of 12
boxplots to show the changes of OVs with SPs.
However, I met a problem when I used the following R code:
p1 <- ggplot(OV.m, aes(Loc, value, ymin=value, ymax = value,
colour="grey20"))+
+
scale_colour_identity()+facet_grid(variable~.,scales="free",as.table=FALSE)+
+ theme_bw()+opts(panel.margin=unit(0,"lines")
where variable is the title of a column in OV.m (OV.m is melted from OV,
original data table); value is OV value for different SP. After I used p2 <-
p1 + geom_boxplot(), I...
2007 Aug 11
0
DOE and interaction plot general question
...rp, cc, data=data, geom="boxplot",
> orientation="horizontal", ylim=c(0.5,1), main="Hello World!", xlab="Label
> X", ylab="Label Y", facets=.~time, colour="red", size=2)
> boxplot + geom_jitter(aes(colour="steelblue")) + scale_colour_identity() +
> scale_size_identity()
> grid.gedit("ylabel", gp=gpar(fontsize=16))
>
>
> > There's a book that provides a full explanation and the (basic) grid
> > chapter is online (see
> > http://www.stat.auckland.ac.nz/~paul/RGraphics/rgraphics.html)
>
>
&...