improved graphs with median values and geom_ribbon