generatePlots: save bar graphs, too