# 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.5 set terminal postscript eps color "Times New Roman" 28 set pointsize 2 set output "$1.eps" set ylabel "Sorted Percentages" set xlabel "Indices" # set xtics .05 # set ytics 4 #set xrange [14:16] #set yrange [4:20] #set key box # set title "$1 WC vs. CC Percentages" set key top right 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