Displaying 1 result from an estimated 1 matches for "seston".
Did you mean:
senton
2013 Sep 18
1
ggplot2: changing strip text in facet_grid and a legend text problem
...o change the text in the legend of this plot.
I have tried several solutions including:
scale_fill_discrete(guide = guide_legend(), labels=c("cyanobacteria", "zooplankton"))
scale_fill_discrete(name="organism",
breaks=c("cyano", "seston"),
labels=c("cyanobacteria", "seston"))
for some reason nothing works. Ideas?
mydata <- data.frame(
D15N = c(runif(100, min = -2), runif(100), runif(100, max = 2), runif(100)),
year = rep(c('2007', '2008'), each = 100),
org...