R/theme_bw_nogrid.R
theme_bw_nogrid.Rd
Theme for plots used in 'ggDoE'
theme_bw_nogrid()
A simple black and white theme without grid.major and grid.minor for ggplot objects.
library(ggplot2) data <- ToothGrowth data$dose <- factor(data$dose,levels = c(0.5, 1, 2), labels = c("D0.5", "D1", "D2")) ggplot(data, aes(x=dose, y=len)) + geom_boxplot()+ theme_bw_nogrid()