#!/bin/sh

for ((i = 1; i <= 16; i++)) do
  gnuplot -e "set terminal png size 800,600; set output '$i.png'; plot [] [100:900] 'massive-intr-200-300-$i.txt' using 2 with lines, 'massive-intr-200-300-without-patch.txt' using 2 with lines"
done

gnuplot -e "set terminal png size 800,600; set output '15-1.png'; plot [] [100:900] 'massive-intr-200-300-15-1.txt' using 2 with lines, 'massive-intr-200-300-without-patch.txt' using 2 with lines"

gnuplot -e "set terminal png size 800,600; set output '15-2.png'; plot [] [100:900] 'massive-intr-200-300-15-2.txt' using 2 with lines, 'massive-intr-200-300-without-patch.txt' using 2 with lines"

gnuplot -e "set terminal png size 800,600; set output '16-1.png'; plot [] [100:900] 'massive-intr-200-300-16-1.txt' using 2 with lines, 'massive-intr-200-300-without-patch.txt' using 2 with lines"

gnuplot -e "set terminal png size 800,600; set output 'with-patch.png'; plot [] [100:900] 'massive-intr-200-300-with-patch.txt' using 2 with lines, 'massive-intr-200-300-without-patch.txt' using 2 with lines"

gnuplot -e "set terminal png size 800,600; set output '0-1.png'; plot [] [100:900] 'massive-intr-200-300-0-1.txt' using 2 with lines, 'massive-intr-200-300-without-patch.txt' using 2 with lines"
