
good = [
           10            0            0       0.2342        0.222       0.2368
           10          2.5            0       0.1596       0.1434       0.1628
           10            5            0       0.0994       0.0762       0.0916
           10          7.5            0        0.059        0.033       0.0536
           10           10            0       0.0222       0.0044       0.0142
];

hold off
subplot(2,2,1)
semilogy(good(:,2),good(:,5),'k-')
hold on
semilogy(good(:,2),good(:,6),'k--')
semilogy(good(:,2),good(:,4),'k-.')
% semilogy(good(:,2),bad(:,4),'k:')
xlabel 'SNR (dB)'
ylabel 'BER'
% title 'BER vs. SNR'
hold off

% a = axis;

x = 0.5; % 11; % a(1) + (a(2)-a(1))/20;
y = 0.5e-2; % 1.2e-1; % a(3) + (a(4)-a(3))/20;

text(x,y, ['.-.-.- good EM init     '; ...
           '----  true MAP          '; ...
           '\_\_\_\_\_ known channel']);


title 'gm.52 - pilot bits at [1,6,10]'
