save plots in pdf format and combine all plots into one plots.pdf file in the specified output directory