I am looking to add an additional white line to the background grid and a additional tick mark, but only within the facet Low Tide, is that in any way possible?
I imagine i would be possible to add a break (at y = 10) to the scale_y_continuous()
command within Low Tide or something similar (please see below for code).
require(ggplot2)
df <- data.frame(cyl = mtcars[,2])
df$Tide <- ifelse(df$cyl > 4, c('High Tide'), c('Low Tide'))
c <- ggplot(df, aes(factor(cyl)))
c + geom_bar(fill="white", colour="darkgreen", alpha=0.5) +
facet_grid(. ~ Tide, scales = "free", space = "free") +
scale_y_continuous(breaks=c(4, 6, 8),
labels=c("Minimal", "Mild", "Moderate")) +
scale_x_discrete(breaks=c(6,8,4),
labels=c("East Coast", "West Coast", "West Coast Summer")) +
theme(axis.title.x = element_blank(), axis.title.y = element_blank(),
axis.ticks.x = element_blank(), legend.position = "none")