s416178-mlworkshops/draw_plots.sh
2020-04-03 15:01:01 +02:00

12 lines
200 B
Bash

#!/bin/bash
for FILE in "$@"
do
gnuplot <<- EOF
set term png
set title "Graph - ${FILE}"
set output "${FILE}.png"
plot "${FILE}.txt" using 1 with lines
EOF
done