Added make plots function, to simplify plotting