Internal method that saves plots as PDF.Can be used with all plotting methods in the package. The
name of the plot object and it's name to be saved under are passed in and the plot is saved as a PDF.
Usage
savePDF(title, plotName)
Arguments
title
new name for the plot, and name of the PDF file created