fixed plotting rates through time plotting function
tested generic rates function