Revised to add plots to sub-directory 'figures'