Remove grid and background from plot (ggplot2) HOMECATEGORIESTAGSMY TOOLSABOUTLEAVE MESSAGERSS 2013-11-27 | category RStudy | tag ggplot2 Generate data library(ggplot2) a <- seq(1, 20) b <- a^0.25 df <- as.data.frame(cbind(a, b)) basic plot myplot = ggplot(df, aes(x = a, y = b)) + geom_point() myplot
theme_bw() will get rid of the background myplot […]
Recent Comments