Update figure_7.R

Make compatible with clean formatting of Dryad submission.