3
votes
0answers
62 views

How to automatically optimize the PDF output of TiKZ externalize?

I use pgfplots with externalization for generating plots in my document. For heavy plots the output PDF for a figure can grow to few hundred KB. I used Adobe Acrobat to optimize the PDFs which ...
1
vote
0answers
96 views

Error using lualatex and tikzexternalize to compile document with PGFPlots

I have a fairly large document with a number of pgfplots diagrams and due to memory capacity limits in PDFLaTeX I am now using LuaLaTeX to compile. While this works well, it takes forever to produce ...
2
votes
1answer
155 views

Peculiar tikz-external, pgfplots, tikzscale combination problem

I want to use \tikzexternalize and tikzscale with pgfplots' \addplot graphics command and \clip=false option. I am using three files: A.png, A.tikz and A.tex. A.png can be any graphics file. A.tikz ...
3
votes
0answers
71 views

External PDF from pgfplots contains several pages when with floatrow

Plotting with pgfplots and the external library creates the single PDFs for every plot as wanted. But every of those PDFs contains several pages, each showing the same plot. Sometimes there are three ...
1
vote
1answer
74 views

How can I resolve the side effects of AddEverypageHook to external pgfplots?

I have quite a huge document with many pgfplots, which I would like to externalize. Well I can externalize them, but my \AddEverypageHook command from the everypage package affects this externalized ...
2
votes
0answers
71 views

tikz externalize and pgfmath error

Using external and \pgfmathdeclarefunction at the same time results in ! Illegal parameter number in definition of \pgfmathfloat@expression. ! Package PGF Math Error: Could not parse input '' as a ...
1
vote
1answer
184 views

How to extract/convert tikz to a format suitable for powerpoint

I am trying to extract/convert a tikzpicture to a format that is suitable for powerpoint without losing quality. The code that I have found and adjusted is the following: ...
23
votes
1answer
504 views

How to make pdfLaTeX multithreaded when `--shell-escape` is enabled?

I am using \write18 enabled (or --shell-escape) with externalization to compile a bunch of PGFplots. The first run takes much time, and I noticed that pdflatex only runs on one CPU core. Is there any ...
4
votes
1answer
114 views

Includepdf causes an error message from pgfplots externalization

I have a file test.pdf which I include in a document containing also an externalized pgfplots picture. When I compile the following code, I get the error message Sorry, the system call pdflatex ... ...
4
votes
1answer
833 views

TikZ images won't compile externally

I have a number of large plots which exhaust memory when I try to compile them with xelatex, so I am using lualatex instead, which is able to compile them without major difficulty. However, I am ...
2
votes
0answers
45 views

TikZ external Library and pgfplots reading data from external txt file [duplicate]

I'm using the external library of TikZ for speeding up the compilation of my LaTeX document. In another thread, Christian Feuersänger reported that from December 2012, the external library uses MD5 ...
9
votes
1answer
350 views

Recreate plot when data file changes

Is it possible to use the TikZ/external library and have pgfplots recreate a figure when a data file that is plotted changes? Say I have something like the following: file.tex: ...
8
votes
1answer
238 views

legend placement with bounding box restrictions and externalization in pgfplots

I find it useful to add \pgfplotsset{/tikz/every picture/.append style={trim axis left,trim axis right}} to my preamble for bounding box restrictions. But then when I use the legend to name feature ...
4
votes
0answers
546 views

Tikzscale, trim axis left/right, and externalizing

tikzscale and trim axis do not play well together, with the produced figure being larger than requested because it ignores the size of the labels. I was wondering whether it is possible to use both ...
2
votes
1answer
126 views

How can the margin around externalized pgfplots crossrefs be set?

When using \usepgfplotslibrary{external} to externalize refs to labels in a pgfplot, the resulting .pdf looks cropped when the linewidth used for the line corresponding to the label is thick (or ...
5
votes
1answer
158 views

Display problems when plotting large datasets (unwanted spikes)

I have a problem concerning pgfplots and large datasets. I have the following minimal example: \documentclass{scrartcl} \usepackage{tikz} \usepackage{pgf} \usepackage{pgfplots} ...
4
votes
0answers
214 views

Using `external` selective for TikZ-pictures

For the following example: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{calc,external} \usepackage{pgfplots} \tikzexternalize \begin{document} ...
9
votes
1answer
265 views

externalize pgfplots, and only pgfplots

I would like to externalize the plots in my document (using pgplots), but not other inline stuff, such as bonds automatically drawn by chemmacros. That is, in the following test document: ...
5
votes
1answer
899 views

External graphics and tikz externalize won't work together

I am using the tikz library external a lot and with success - so far. Now, I need to import an external file (eps, png, pdf... I don't care), and add the axes. I know I can do this with \addplot ...
1
vote
1answer
126 views

Does anyone know if the listed prerequisites for TikZ's pgfplots package are slightly off?

Does anyone (not to specifically ask Christian) know if the prerequisite PGF/TikZ version listed in the PGFPlots manual is off by a bit? I've been trying to use \tikzset{external/mode=list and make} ...
2
votes
0answers
323 views

How to use tikzexternal? [closed]

I use some huge file to plot and for this I changed the tex conf file to increase memory that works. But I would like use instead external memory for this I try to use tikzexternal. But I fail. MWE ...
5
votes
2answers
161 views

Pgfplots gives spurious lines in external mode with geometry

This is not a major problem but all the same I would like to confirm that I am not doing anything wrong. Geometry package with showframe=true option is used to see if all the figures are within the ...
2
votes
0answers
528 views

“Fatal error” when using TikZ externalize [closed]

So I'm having problems with TikzExternalize. I have a paper with a large amount of dynamically built graphs. I get to a certain point in my files and I can't build anymore. Once I get to this point I ...
4
votes
1answer
271 views

TikZ Externalize: Referenced legends from PGFPlots are not included

The following MWE without TikZ externalization works. However, the legend at the bottom is lost with externalization. Since the \ref in this example does not refer to anything outside tikzpicture ...
7
votes
1answer
694 views

Compiling CircuiTikZ with -shell-escape (pdflatex)

I'm trying to use both CircuiTikZ and pgfplots. In order not to overflow LaTeX memory, I use the TikZ externalize library with -shell-escape command in pdfLaTeX. It compiles the pgfplots nicely, but ...
1
vote
1answer
151 views

pgfplots externalize and references: some work, some don't

I have started using the tikz externalization library for my current project. From here I learned to use \pgfplotsset{invoke before crossref tikzpicture={\tikzexternaldisable},invoke after crossref ...
2
votes
1answer
691 views

Tikz overlay with subfig, axis & externalize

I am trying to draw lines between two different tikz-drawings, placed in subfig-environments, for example the corners of the small blue rectangle in the left image and the corners of the axis ...
4
votes
1answer
2k views

How to get the pgfplots external tutorial to work in TeXnicCenter?

In 7.1.1 of the PGFPLOTS library the following example of externalization is given. Whatever I try, I cannot get it to work in TeXniccenter, running MiKTeX 2.8. \documentclass{article} ...
1
vote
0answers
1k views

! I can't find file `pgflibrarytikz*.code.tex' [closed]

I can compile the following LaTeX: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,backgrounds,plotmarks} \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing ...
1
vote
1answer
624 views

TikZ externalize option causes error in compilation

As the title says, the externalize option causes some strange errors I can't figure out of. It works for some figures (e.g. figures for which the code I've found in the pgfplots manual), but for some ...
2
votes
0answers
59 views

Clash between tikz externalization and references to plots [duplicate]

Possible Duplicate: pgfplots: externalization and legend referencing I am trying to implement references to plots using there legend image with pgfplots. I use the example on page 164 of ...
3
votes
1answer
691 views

References in externalized pgfplots

I was writing on an document with a lot of pgfplots in it. Because of the memory limitation in LaTeX and in order to save some compiling time I tried out the externalize command. With most of the ...
18
votes
3answers
2k views

TikZ externalize, pgfplots and animate

I gave a very fetching presentation written with beamer today. It included a pgfplot animated with the animate package, and the result was fantastic. The problem? One of my colleagues wants to borrow ...
1
vote
1answer
268 views

pgfplots: externalization and ifthen

I use pgfplots with externalization. When I try to include a macro that uses \ifthenelse, always the 'else' statement is being executed. When I switch off externalization, it works again. See this ...
13
votes
1answer
2k views

pgfplots: externalization and legend referencing

There are some issues when using the pgfplots option legend to name together with externalization. When I disable externalization, everything works fine. When I enable externalization, I get an error ...