Displaying 1 result from an estimated 1 matches for "ctrlam".
Did you mean:
ctrl
2012 Nov 07
1
change colour of geom_step by scale_colour_manual
...duces a step plot with color
by default. The second one, modified from the first one, is not producing
the grey scale I want. Any help would be highly appreciated.
[version 1- working]
library(ggplot2)
ggplot(qry_r3_AFF0_CumRate_pooled[qry_r3_AFF0_CumRate_pooled$trt_label %in%
c('ace','ctrlAM','met'),]
, aes(x=AFF0, y=cum_rate_AFF0_pooled, group=trt_label))+
geom_step(aes(color=trt_label), direction="hv", size=5.0)+
scale_y_continuous("Rates of initiating first orientation flight",
limits=c(0,0.6), expand=c(0,0), breaks=c(0,0.2,0....