I'm trying to standardize some figures across different types of plots (line and area) and while the usage of scale_y_continuous works perfectly with line plots, when I use the exact same code on an area plot it screws things up a bit.
With the line plot I use the scale_y_continuous argument
scale_y_continuous(breaks= seq(0,1,by=0.2),
labels = c("0.0", 0.2, 0.4, 0.6, 0.8, "1.0"),
limits = c(-0.1,1), expand = c(0,0))
So I know that works fine.
I'm not entirely certain what's screwing it up here, but if anyone has any input as to how I can remedy this error, I'd greatly appreciate it.