t_perm = [
      0.13321
      0.42293
       1.0142
       2.2443
       8.3337
       64.656
];

th_perm = [
          112
         1056
         9264
        76560
   6.1056e+05
   4.8787e+06
   4.0844e+07
   3.7123e+08
   3.7159e+09
];

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']);
