Hi: Does anyone have an idea on how to color the axis and labels using ggplot2? This is what I got:
library(ggplot2) p <- qplot(total_bill, tip, data = tips) NewPlot<- p + geom_abline(slope=c(0.1,0.15,0.2), colour=c("red","blue","yellow"),size=c(2,5,2)) NewPlot + geom_smooth(colour="green", size=3,linetype=3) NewPlot$background.fill<-"cornsilk" NewPlot$background.colour <- "blue" NewPlot$axis.colour<-"red" ????? it doesn't do it Thanks Felipe D. Carrillo Fishery Biologist US Fish & Wildlife Service Red Bluff, California 96080 ____________________________________________________________________________________ ______________________________________________ R-help@stat.math.ethz.ch 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.