set terminal postscript eps enhanced color size 8.6cm, 6cm dl 3\ font "Helvetica, 16pt" set output 'NCD_uniformity.eps' set colors classic set style line 1 lt 1 pt 5 ps 1.0 lc rgb "#006400" lw 1 set style line 2 lt 2 pt 4 ps 1.0 lc rgb "blue" lw 1 set style line 3 lt 3 pt 6 ps 1.0 lc rgb "#008B8B" lw 1 set style line 4 lt 4 pt 7 ps 1.0 lc rgb "red" lw 1 set xlabel 'Trial' set ylabel 'NCD' # offset 2,0 set key on outside top horizontal right set xrange [0.5:8.5] set yrange [0:1] # label version # lab1 = 'a_0b_1' # lab2 = 'a_0b_0' # lab3 = 'a_1b_0' # lab4 = 'a_1b_1' # set label lab1 font 'Helvetica, 20pt' center at 7,.82 # set label lab2 font 'Helvetica, 20pt' center at 7,.33 # set label lab3 font 'Helvetica, 20pt' center at 7,.15 # set label lab4 font 'Helvetica, 20pt' center at 8,.29 # plot for [i=1:4] 'NCD_vs_trials_lzma.dat' u 1:i+1 w linespoints ls i notitle # legend version labels = 'a_0b_1 a_0b_0 a_1b_0 a_1b_1' plot for [i=1:words(labels)] 'NCD_vs_trials_lzma.dat' u 1:i+1\ w linespoints ls i title word(labels, i)