#!/usr/bin/gnuplot -persist set xlabel "Time" set ylabel "Energy" set title "Energy flow" set rmargin 5 set terminal pngcairo size 1024,800 set output "energyFlow.png" plot \ "teams1.txt" using 1:2 title "Team 0" w l,\ "teams1.txt" using 1:4 title "Team 1" w l #"teams1.txt" using 1:6 title "Team 2" w l,\ #"teams1.txt" using 1:8 title "Team 3" w l,\ #"teams1.txt" using 1:10 title "Team 4" w l,\ #"teams1.txt" using 1:12 title "Team 5" w l,\ #"teams1.txt" using 1:14 title "Team 6" w l,\ #"teams1.txt" using 1:16 title "Team 7" w l,\ #"teams1.txt" using 1:18 title "Team 8" w l,\ #"teams1.txt" using 1:20 title "Team 9" w l