tadd simple script to plot grain positions and diameters - granular - granular dynamics simulation
 (HTM) git clone git://src.adamsgaard.dk/granular
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2c6179516d7ec6b2bf3cb18b7c962c884270e2d4
 (DIR) parent 1b411163a43e1bd000e1a8762aaa73656d2e15f9
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       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(-)
       ---
 (DIR) 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 palette lw 0 title 'Grain'"