On Sun, Oct 18, 2009 at 10:29 AM, John Kane <jrkrid...@yahoo.ca> wrote: > Thanks Stefan, the annotate approach works beautifully. I had not got that > far in Hadley's book apparently :( > > I'm not convinced though that the explaination > >> you shouldn't use aes in this case since nampost, >> temprange, ... are not >> part of the dataframe year. > > makes sense since it seems to work in this case unless I am missing something > obvious. Mind you I'm good at missing the obvious especially in ggplot.
It currently works (because I can't figure out how to make it an error) but you really should not do it. Hadley -- http://had.co.nz/ ______________________________________________ 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.