Add code for generating growth rate figure

Signed-off-by: Michael Barton <mail@michaelbarton.me.uk>