diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-06-18 03:05:02 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-06-18 03:05:02 +0100 |
commit | b08cf51123fc9364f7fafdb7f7035b979a4f10bc (patch) | |
tree | 7e120ab0d8e7462afa341e2aaea06dd736816d14 /tex/src/figure-tools-per-year.tex | |
parent | 4471f9ddda170b0afdf671e15612c7760489a0ee (diff) |
Better step-by-step implementation of the data-lineage figure
Until now, the data-lineage figure's step-by-step feature (using the macros
defined at the top) didn't correspond to the new format! It was still based
on the purely-hypothetical format, while the boxes and their contents had
changed.
With this commit, they macros and corresponding parts that they create have
been updated to represent the step-by-step data lineage of this paper.
Also, in the "tools-per-year" plot, the green line was brought ontop of the
histogram to be more clear (especially when transparency isn't implemented
properly in the conversion).
Diffstat (limited to 'tex/src/figure-tools-per-year.tex')
-rw-r--r-- | tex/src/figure-tools-per-year.tex | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tex/src/figure-tools-per-year.tex b/tex/src/figure-tools-per-year.tex index e235424..f6dc239 100644 --- a/tex/src/figure-tools-per-year.tex +++ b/tex/src/figure-tools-per-year.tex @@ -1,4 +1,19 @@ \begin{tikzpicture}[scale=0.9] + %% 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/to-publish/tools-per-year.txt}; + \end{axis} + \begin{axis}[ ymin=0, ymax=100, @@ -16,19 +31,4 @@ \addplot+ [mark=none, very thick, green!60!black] table {tex/build/to-publish/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/to-publish/tools-per-year.txt}; - \end{axis} \end{tikzpicture} |