tFix makefile figure dependencies and fix fig1 ylabel placement - cngf-pf-exp1 - experiments for first paper with continuum granular model
(HTM) git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1085459b26649c3b499cb56715f95257c091c1e8
(DIR) parent 6b29a1dd2faad2c763fde0b5d6396c7ce6cefd1e
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 25 Jun 2019 12:15:08 +0200
Fix makefile figure dependencies and fix fig1 ylabel placement
Diffstat:
M Makefile | 4 ++--
M fig1/fig.gp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -1,10 +1,10 @@
REPO = 1d_fd_simple_shear
-FIGDIRS := $(wildcard fig*/)
+FIGDIRS := $(sort $(dir $(wildcard fig*/)))
FIGURES := $(FIGDIRS:/=).pdf
default: $(FIGURES)
-fig%.pdf: fig% $(REPO)/$(REPO)
+fig%.pdf: fig% fig%/Makefile fig%/*.gp $(REPO)/$(REPO)
make -C $<
$(REPO)/$(REPO): $(REPO)/Makefile
(DIR) diff --git a/fig1/fig.gp b/fig1/fig.gp
t@@ -4,10 +4,10 @@ reset
## resemble Iverson 2010 fig2a
-set terminal pdfcairo size 18.6 cm, 11.0 cm
+set terminal pdfcairo size 7.5 cm, 5.0 cm
set xlabel "Shear strain rate [a^{-1}]"
-set ylabel "Shear friction [-]" offset 2
+set ylabel "Shear friction [-]"
set xrange [1e1:1e6] # m/a
set yrange [0.0:0.8]