tadd simple script to plot grain positions and diameters - granular - granular … | |
git clone git://src.adamsgaard.dk/granular | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2c6179516d7ec6b2bf3cb18b7c962c884270e2d4 | |
parent 1b411163a43e1bd000e1a8762aaa73656d2e15f9 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 19 Mar 2021 12:58:40 +0100 | |
add simple script to plot grain positions and diameters | |
Diffstat: | |
A granularplot | 9 +++++++++ | |
1 file changed, 9 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/granularplot b/granularplot | |
t@@ -0,0 +1,9 @@ | |
+#!/bin/sh | |
+ | |
+awk -F' ' '{print $2, $3, $1, $1*2.0}' \ | |
+ | gnuplot -e "set term pdf;\ | |
+ set xlabel 'x [m]';\ | |
+ set ylabel 'y [m]';\ | |
+ set cblabel 'diameter [m]';\ | |
+ set size ratio -1;\ | |
+ plot '-' with circles fill solid fillcolor p… |