diff options
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} |