Add option for creating PDFs to plot.