Thank you for the many replies on this issue. I turns out qplot is not suited to multiple annotations, so the best suggestions were to use ggplot. The following worked for making an annotated stacked bar plot:
ggplot(algaedata) + geom_bar(aes(x = year, y = cellsperml, colour = DIV, group = DIV)) + geom_text(data = labelstouse, aes(x = x, y = y, label = numb)) Dennis Murphy additionally suggested using a combined line and point plot by using the following instead: geom_point(aes(x = year, y = cellsperml, colour = DIV, group = DIV)) + geom_line(aes(x = year, y = cellsperml, colour = DIV, group = DIV)) All the best - Euan. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.