diff options
Diffstat (limited to 'tex/preamble-pgfplots.tex')
-rw-r--r-- | tex/preamble-pgfplots.tex | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tex/preamble-pgfplots.tex b/tex/preamble-pgfplots.tex new file mode 100644 index 0000000..13570e9 --- /dev/null +++ b/tex/preamble-pgfplots.tex @@ -0,0 +1,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}} |