| tgranular2img: fix indentation - granular - granular dynamics simulation | |
| git clone git://src.adamsgaard.dk/granular | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit e8da689d88db29adb2e1eea3471babf391cada4d | |
| parent 9a3e85c73a6e948b5018ebcfd78fa5141c719461 | |
| Author: Anders Damsgaard <[email protected]> | |
| Date: Tue, 31 Aug 2021 15:42:32 +0200 | |
| granular2img: fix indentation | |
| Diffstat: | |
| M granular2img | 11 ++++++----- | |
| 1 file changed, 6 insertions(+), 5 deletions(-) | |
| --- | |
| 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 p… | |
| + set xlabel 'x [m]';\ | |
| + set ylabel 'y [m]';\ | |
| + set cblabel '${label}';\ | |
| + set size ratio -1;\ | |
| + plot '-' with circles fill solid fillcolor palette lw 0 … |