draw line at mean y and add legend