First part of Q2. Plot of averages per interval.