set title "Finding the kth largest element by divide and conquer "; plot "r5" using ($1):($2) smooth bezier title "Binary"; replot "out.txt" using ($1):($3) smooth bezier title "Fibonacci; set term gif set output 'out.gif'; replot