Given the following data:
df<-data.frame(
year=(1996:2000),
a=c(2,1.5,1.5,2,3),
b=c(2,2,2,3,4),
c=c(2,3,3,1,1))
with ggplot:
ggplot(df,aes(x=year))+
geom_line(aes(y=a))+
geom_line(aes(y=b))+
geom_line(aes(y=c))
looking like this:
how. can I create a ribbon that shows always the area between minimum and maximum (think of it like a min-max-range), to get it look like this: