aboutsummaryrefslogtreecommitdiff
path: root/tex/src/figure-tools-per-year.tex
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-03-23 03:16:06 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-03-23 03:16:06 +0000
commit48e61df320e7571e527049cd3eef5cf96b8cb491 (patch)
tree61a207722f8d005fb091da080facc725889e15a6 /tex/src/figure-tools-per-year.tex
parent716b56b71b8513faa617acb38e2a841b59910b44 (diff)
Analysis and configuration file sections complete
With this commit a description of these two important parts have been added to the project, along with several figures showing various parts of the files that are discussed. I also done some other restructuring of the figures and files to make things fit better into the the description of the paper.
Diffstat (limited to 'tex/src/figure-tools-per-year.tex')
-rw-r--r--tex/src/figure-tools-per-year.tex34
1 files changed, 34 insertions, 0 deletions
diff --git a/tex/src/figure-tools-per-year.tex b/tex/src/figure-tools-per-year.tex
new file mode 100644
index 0000000..75557ac
--- /dev/null
+++ b/tex/src/figure-tools-per-year.tex
@@ -0,0 +1,34 @@
+\begin{tikzpicture}
+ \begin{axis}[
+ ymin=0,
+ ymax=100,
+ width=\linewidth,
+ height=0.3\linewidth,
+ xlabel={Year},
+ ylabel={Frac. papers with tools},
+ axis y line*=left,
+ enlarge x limits = false,
+ yticklabel=\pgfmathprintnumber{\tick}\,\%,
+ x tick label style={/pgf/number format/1000 sep=},
+ ]
+
+ %% Linear plot, showing the number of papers mentioning tools.
+ \addplot+ [mark=none, very thick, green!60!black]
+ table {tex/build/tools-per-year/tools-per-year.txt};
+ \end{axis}
+
+ %% Add the right-side Y axis.
+ \begin{axis}[
+ ymode=log,
+ width=\linewidth,
+ height=0.3\linewidth,
+ axis x line=none,
+ axis y line*=right,
+ enlarge x limits = false,
+ ylabel=Num. papers (log-scale),
+ max space between ticks=20,
+ ]
+ \addplot+ [ybar, mark=none, fill=red!50!white, red, opacity=0.25]
+ table [x index=0, y index=2] {tex/build/tools-per-year/tools-per-year.txt};
+ \end{axis}
+\end{tikzpicture}