add title to plot and save as pdf