diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-02-07 20:37:15 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-02-07 20:37:15 +0100 |
commit | a16f22881841e57f2652f2a17b7f60b5106b2e60 (patch) | |
tree | 6e5a86c38e68cd9f9be546d17c69adad17483825 /tex/preamble-pgfplots.tex |
First commit to the reproduction pipeline template
Let's start working on this pipeline independently with this first
commit. It is based on my previous experiences, but I had never made a
skeleton of a pipeline before, it was always within a working analysis.
But now that the pipeline has a separate repository for its self, we will
be able to work on it and use it as a base for future work and modify it to
make it even better. Hopefully in time (and with the help of others), it
will grow and become much more robust and useful.
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}} |