data = importdata('MI.csv'); x = data(:,1); y = data(:,2); figure; plt = bar(x,y); line([0,297],[1,1],'color','r','linestyle','--','linewidth',1.5); line([0,297],[0.6,0.6],'color','k','linestyle','-.','linewidth',1.5); line([0,297],[0.4,0.4],'color','m','linestyle',':','linewidth',1.5); set(gca,'FontSize',16); xlabel('Features','FontSize',18); ylabel('Mutual Information (bits)','FontSize',18);