aboutsummaryrefslogtreecommitdiff
path: root/reproduce/analysis/make/demo-plot.mk
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-13 07:06:53 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-13 07:06:53 +0100
commit16fbab2a9444e602e6fd4cf86d109daf6315f7f3 (patch)
tree7af0b0fdc2770620fc8f59117e450085160a997d /reproduce/analysis/make/demo-plot.mk
parente25c86efab8e585854a3c44ce21aa7f16ef831ef (diff)
Full existing contents summaried, only discussion to go
The contents until two commits ago when I started to summarize the paper are now in a new and shorter format: previously the discussion started on page 25, but now it starts on page 17. It is still a little longer than 8000 words, but not as significantly as before. I will add the discussion and also try to summarize it futher before submission.
Diffstat (limited to 'reproduce/analysis/make/demo-plot.mk')
-rw-r--r--reproduce/analysis/make/demo-plot.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/reproduce/analysis/make/demo-plot.mk b/reproduce/analysis/make/demo-plot.mk
index caf77af..ac05776 100644
--- a/reproduce/analysis/make/demo-plot.mk
+++ b/reproduce/analysis/make/demo-plot.mk
@@ -53,6 +53,10 @@ $(mtexdir)/demo-plot.tex: $(a2mk20f1c) $(pconfdir)/menke-demo-year.conf
v=$$(awk 'NR==1{print $$1}' $(a2mk20f1c))
echo "\newcommand{\menkefirstyear}{$$v}" > $@
+ # Find the number of rows in the plotted table.
+ v=$$(cat $(a2mk20f1c) | wc -l)
+ echo "\newcommand{\menkenumyears}{$$v}" >> $@
+
# Find the number of papers in 1996.
v=$$(awk '$$1==$(menke-demo-year){print $$3}' $(a2mk20f1c))
echo "\newcommand{\menkenumpapersdemocount}{$$v}" >> $@