aboutsummaryrefslogtreecommitdiff
path: root/tex/preamble-pgfplots.tex
blob: 13570e9132cd4066dbc1ad94a504207653f4d7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%% PGFPlots settings.
%%
%% PGFPlots is a package in (La)TeX for making plots internally. It fits
%% nicely with the purpose of a reproduction pipeline. But it isn't
%% mandatory. Therefore if needed, you can just uncomment the line that
%% includes this file in the top LaTeX source (`paper.tex').





% For a tikz environment:
\usepackage{tikz}
\usetikzlibrary{external}
\tikzexternalize

\tikzsetexternalprefix{\bdir/tex/tikz/}

%% Uncomment the following lines for EPS and PS images. Note that you
%% still have to use pdflatex and also add a `[dvips]' option to
%% graphicx.

%\tikzset{external/system call={rm -f "\image".eps "\image".ps
%"\image".dvi; latex \tikzexternalcheckshellescape -halt-on-error
%-interaction=batchmode -jobname "\image" "\texsource";
%dvips -o "\image".ps "\image".dvi;
%ps2eps "\image.ps"}}

%For drawing plots:
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{groupplots}
\pgfplotsset{axis line style={thick}, tick style={semithick}}