subplot(2,2,1)
hold off
semilogy([2:7],t_perm,'x:');
hold on
y=th_perm*(t_perm(5)/th_perm(5));
semilogy([7:10],y(6:9),'-.');
xlabel 'K'
ylabel 'Run-time (secs)'
title 'Run-time vs. K'

text( 3, 1e3, ['x     measured'; ...
               '-.-. predicted']);
