I saw Why is tikz so much slower when plotting a huge amount of data than WYSIWYG plotting tools? that pgfplots can be configured to do the plotting only once. How to do this? I have a document with many graphs and repeated runs takes so much time.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
The details of this are described in Basically adding the following to your preamble should be all that is needed:
|
|||||||||||||
|
32 Externalization Libraryof the tikz/pgf manual. Basically\usetikzlibrary{external} \tikzexternalizeshould be all you need. – Peter Grill Apr 3 '12 at 23:56system call 'pdflatex -shell-escape -halt-on-error -interaction=batchmode -jobname "pami2012-figure2" "\def\tikzexternalrealjob{pami2012}\input{pami2012}"' did NOT result in a usable output file 'pami2012-figure2' (expected one of .pdf:.jpg:.jpeg:.png:). Please verify that you have enabled system calls.Actually I have enabled write18 and the pdf of each of the figures are produced also. I manage by pressing 's', but how to avoid that? – suresh Apr 4 '12 at 0:20\documentclassand the appropriate packages. This will also serve as a test case and ensure that the solution actually works for you. In the mean time, perhaps try adding-enable-write18and ensure that you do not have older .aux files lying around. – Peter Grill Apr 4 '12 at 0:24