Got the graphics to output to a pdf.