load g.01.mat

subplot(2,2,1)

x=[0:N];

plot(x,EM_local_min)
xlabel '# init wrong'
ylabel '% local min'
title '% local min vs. # init wrong'
axis([0 10 0 100])

subplot(2,2,3)
plot(x,EM_equal_ML);
xlabel '# init wrong'
ylabel '% equal ML'
title '% equal ML vs. # init wrong'
axis([0 10 0 100])

subplot(2,2,2)
plot(x,iter_avg_g);
xlabel '# init wrong'
ylabel 'avg iter'
title 'avg iter vs. # init wrong'

subplot(2,2,4)
plot(x,iter_max_g);
xlabel '# init wrong'
ylabel 'max iter'
title 'max iter vs. # init wrong'
axis([0 10 1 8])
