s416178-mlworkshops/draw_plots.sh

12 lines
200 B
Bash
Raw Normal View History

2020-04-03 14:31:20 +02:00
#!/bin/bash
for FILE in "$@"
do
gnuplot <<- EOF
set term png
2020-04-03 15:01:01 +02:00
set title "Graph - ${FILE}"
2020-04-03 14:31:20 +02:00
set output "${FILE}.png"
2020-04-03 15:01:01 +02:00
plot "${FILE}.txt" using 1 with lines
2020-04-03 14:31:20 +02:00
EOF
done