#!/bin/bash
set -euo pipefail

file="$1"

gnuplot -p <<EOF
set terminal wxt
set grid
set datafile separator ","
plot "$file" using 1:3 with lines, "$file" using 1:6 with lines
pause -1
EOF
