я следующий сюжет:Как удалить серый фон из facet_grid() (ggplot2)
получить, выполнив:
ggplot() +
stat_summary(data = test_data1, aes(x=x, y=(1-value) , colour = as.factor(1) , lty = as.factor(1)) , fun.y=mean, geom="line" , size=1) +
stat_summary(data = test_data1, aes(x=x, y=(1-value) , colour = as.factor(1), shape=as.factor(1)) , fun.y=mean, geom="point" , size=3, pch=21, fill="white") +
stat_summary(data = test_data2, aes(x=x, y=(1-value) , colour = as.factor(2), lty = as.factor(2)) , fun.y=mean, geom="line", size=1) +
stat_summary(data = test_data2, aes(x=x, y=(1-value) , colour = as.factor(2), shape=as.factor(2)) , fun.y=mean, geom="point", size=3, pch=21, fill="white") +
theme_bw(base_size = 14, base_family = "Palatino") +
theme(legend.key = element_blank()) +
expand_limits(x=c(0), y=c(0)) +
facet_grid(distance ~ .)
Как избавиться от серый фон появляется за 100
и 200
.
Я бы хотел, чтобы это было белым, без изменения остальной темы, которую я использую в данный момент.
Спасибо! Что мне делать с этим сообщением? Удали это? – cross