Hi robert, It's not a typo, i have the book and the right code is : huron <- data.frame(year=1875:1972,level=LakeHuron) p <- ggplot(huron, aes(year)) + geom_line(aes(y= level - 5, colour = 'blue')) + geom_line(aes(y= level + 5, colour = 'red')) print(p) So colour must inside aes....
-- View this message in context: http://r.789695.n4.nabble.com/ggplot2-scale-colour-manual-tp3247451p3247538.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.