#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' chinamreValuesToWrite.txt
EOF
}

data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat

gnuplot <<EOF
set xrange [0:580]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In China Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "chinaMREValues.eps
set key bottom right
set size 2.5,2.5
set pointsize 0.8
plot "2d20.dat" title "0.5> & >=0" with points 0 0,\
"2d40.dat" title "1.0> & >=0.5" with points 0 1,\
"2d60.dat" title "1.5> & >=1.0" with points 0 6 ,\
"2d80.dat" title "2> & >=1.5" with points 4 ,\
"2d100.dat" title ">=2" with points 1 5  
EOF
epstopdf chinaMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' cocomo81mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:78]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Cocomo81 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "cocomo81MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf cocomo81MREValues.eps


#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' cocomo81omreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:30]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Cocomo81o Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "cocomo81oMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf cocomo81oMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' cocomo81emreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:35]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Cocomo81e Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "cocomo81eMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf cocomo81eMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' cocomo81smreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:14]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Cocomo81s Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "cocomo81sMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf cocomo81sMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' nasa93mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:115]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Nasa93 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "Nasa93MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf Nasa93MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' nasa93_center_1mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:15]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Nasa93c1 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "Nasa93c1MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf Nasa93c1MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' nasa93_center_2mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:46]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Nasa93c2 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "Nasa93c2MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf Nasa93c2MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' nasa93_center_5mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:49]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Nasa93c5 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "Nasa93c5MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf Nasa93c5MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' desharnaismreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:100]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Desharnais Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "DesharnaisMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf DesharnaisMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' desharnaisL1mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:58]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In DesharnaisL1 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "DesharnaisL1MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf DesharnaisL1MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' desharnaisL2mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat



gnuplot <<EOF
set xrange [0:31]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In DesharnaisL2 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "DesharnaisL2MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf DesharnaisL2MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' desharnaisL3mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat


gnuplot <<EOF
set xrange [0:13]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In DesharnaisL3 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "DesharnaisL3MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf DesharnaisL3MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' albrechtmreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat


gnuplot <<EOF
set xrange [0:30]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Albrecht Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "AlbrechtMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf AlbrechtMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' sdrmreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat


gnuplot <<EOF
set xrange [0:30]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In SDR Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "sdrMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf sdrMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' maxwellmreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat


gnuplot <<EOF
set xrange [0:77]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Maxwell Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "maxwellMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf maxwellMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' miyazaki94mreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat


gnuplot <<EOF
set xrange [0:60]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Miyazaki94 Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "miyazaki94MREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf miyazaki94MREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' kemerermreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat


gnuplot <<EOF
set xrange [0:19]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Kemerer Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "kemererMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf kemererMREValues.eps

#############################################################################################################
data() { cat <<EOF | gawk -F, '{;OFS=","; print $10,$80,$63,$64,$3,$4,$13,$14,$90,$73,$74,$100,$70,$93,$94,$77,$17,$78,$98,$85,$76,$5,$97,$86,$6,$20,$83,$84,$38,$75,$92,$67,$7,$96,$95,$60,$33,$34,$53,$54,$68,$81,$8,$71,$91,$18,$50,$61,$1,$28,$88,$43,$44,$89,$40,$48,$9,$51,$57,$2,$58,$99,$65,$37,$79,$72,$62,$27,$23,$24,$87,$30,$41,$55,$11,$16,$15,$45,$47,$56,$66,$46,$36,$31,$42,$26,$52,$25,$35,$12,$21,$32,$59,$69,$49,$19,$29,$39,$22,$82}' finnishmreValuesToWrite.txt
EOF
}


data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0 T2=0.15> 2d0.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.15 T2=0.30> 2d15.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1 && $i<T2) print NR,i}' T1=0.30 T2=0.60> 2d30.dat
data|gawk -F, '{OFS="\t"; for(i=1;i<=NF;i++) if ($i>= T1) print NR,i}' T1=0.60 > 2d60.dat


gnuplot <<EOF
set xrange [0:47]
set yrange [0:102]
set xlabel "Instance Indices" font "Times-Roman,20"
set ylabel "Pre-Processor+Method Indices" font "Times-Roman,20"
set title "MRE Values for Each Instance In Finnish Dataset" font "Times-Roman,20"
set terminal postscript eps
set output "finnishMREValues.eps
set key bottom right
set size 1.5,1.5
set pointsize 1
plot "2d0.dat" title "15%> & >=0%" with points 0 0,\
"2d15.dat" title "30%> & >=15%" with points 0 1,\
"2d30.dat" title "60%> & >=30%" with points 0 6 ,\
"2d60.dat" title ">=60%" with points 1 5
EOF
epstopdf finnishMREValues.eps











