set key reverse set terminal pngcairo set datafile separator ',' set output sprintf("%s.png", ARGV[1][:strlen(ARGV[1])-4]) splot ARGV[1] using 1:2:3 with lines title '0',\ '' using 4:5:6 with points title '1'