diff --git a/accumplot.sh b/accumplot.sh new file mode 100755 index 0000000000000000000000000000000000000000..c639cc9cec80d578cad9a40f69d282a7aa7e503a --- /dev/null +++ b/accumplot.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )"; + +gnuplot -p -e "dir='$1'" $SCRIPT_DIR/density.p diff --git a/density.p b/density.p new file mode 100644 index 0000000000000000000000000000000000000000..a484014b9d76420a347b29067234a3a164b08c61 --- /dev/null +++ b/density.p @@ -0,0 +1,6 @@ +glob = 'ls '.dir.'/*.csv' +list = system(glob) +print list +set datafile separator ',' +unset key +plot for [file in list] file using 2:3 w l lw 2 lc rgb "#F00000FF"