Allow generation of graphics with tikz & pgfplots