tgranular2img: fix indentation - granular - granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/granular
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e8da689d88db29adb2e1eea3471babf391cada4d
(DIR) parent 9a3e85c73a6e948b5018ebcfd78fa5141c719461
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 31 Aug 2021 15:42:32 +0200
granular2img: fix indentation
Diffstat:
M granular2img | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/granular2img b/granular2img
t@@ -7,6 +7,7 @@ usage() {
field='$1'
label="diameter [m]"
term="pdf"
+row="1"
while getopts 'f:hl:t:' arg; do
case "${arg}" in
f) field="${OPTARG}" ;;
t@@ -24,8 +25,8 @@ fi
awk -F' ' "{print \$2, \$3, \$1 / 2.0, ${field}}" \
| gnuplot -e "set term ${term};\
- set xlabel 'x [m]';\
- set ylabel 'y [m]';\
- set cblabel '${label}';\
- set size ratio -1;\
- plot '-' with circles fill solid fillcolor palette lw 0 title ''"
+ set xlabel 'x [m]';\
+ set ylabel 'y [m]';\
+ set cblabel '${label}';\
+ set size ratio -1;\
+ plot '-' with circles fill solid fillcolor palette lw 0 title ''"