# example call to this function: ./biasVariancePlotter fileName # note that fileName should be a csv file containing the bias-variance values gnuplot << EOF set datafile separator "," set size 1.5,1 set terminal postscript eps color "Times New Roman" 32 set pointsize 2 set output "$1.eps" set ylabel "Sorted Percentages" set xlabel "Index" set xrange [0:40] set yrange [0:20] set key top left plot "$1.csv" using 1:2 title "WC" with points pointtype 7,\ "$1.csv" using 3:4 title "CC" with points pointtype 9 EOF epstopdf $1.eps