glob = 'ls '.dir.'/*.csv' list = system(glob) print list set datafile separator ',' unset key plot for [file in list] file using 2:3 every ::2 notitle w l ls 1 lw 2 lc rgb "#F00000FF"