
good = [
           10            0            0       0.2694       0.2184       0.2226
           10            2            0        0.232       0.1732        0.183
           10            4            0       0.2002       0.1114       0.1286
           10            6            0        0.172       0.0626       0.0866
           10            8            0       0.1334       0.0274       0.0374
           10           10            0       0.1208       0.0058        0.017
];

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, ['.-.-.- EM init #2       '; ...
           '----  true MAP          '; ...
           '\_\_\_\_\_ known channel']);

