I'm trying use to use pgfplot's externalization feature b/c I've got many large plots that I don't want to regenerate every time I typeset my thesis. Other components of my thesis require compile via latex > ps > pdf (i.e. "latex" followed by "dvips" followed by "ps2pdf"), so I'm trying to stick with that. I'm having trouble getting the externalization to work, unfortunately. Here is my minimum example, which I have produced by following the instructions in the pgfplots manual for getting .eps output (pg 240).
\documentclass{article}
\usepackage{pgfplots}
\usetikzlibrary{pgfplots.groupplots}
\usepgfplotslibrary{external}
\tikzexternalize[shell escape=-enable-write18]
\tikzset{external/system call={latex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource" & dvips -o "\image".ps "\image".dvi}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xlabel=x,ylabel=y]
\addplot[] coordinates{(0,0) (1,2)};
\end{axis}
\end{tikzpicture}
\end{document}
When I do the compile, the external .dvi and .ps files for the figure are successfully generated and there are no errors, but the figure is absent from the actual compiled document .pdf. The pgfplots manual suggested I would get .eps output, but this doesn't happen (perhaps this is the trouble?). Anyone have any tips for what I'm doing wrong?
\tikzexternalize[shell escape=-enable-write18]. Which TeX system do you use, and can you post your log? – Joseph Wright♦ Dec 16 '10 at 21:01