Update figure_9.R

Make compatible with clean formatting of Dryad submission.