AE: Now have the plots inserted into the .tex file and can be compiled by pdflatex