% Matlab script for Figure 7 figure(7) subplot(2,1,1) y=[1.88 0.25 0.50 0.00; 0.88 0.63 0.75 0.25; 5.50 9.50 10.50 4.63; 7.75 8.75 7.25 3.50; 3.88 3.75 3.25 3.50; 0.63 0.50 0.25 0.00]; error=[1.17 0.43 0.50 0.00; 0.60 0.86 0.66 0.43; 1.12 2.40 3.12 2.96; 2.90 2.11 0.83 0.71; 1.69 1.39 1.64 1.50; 0.99 0.71 0.43 0.00]; b=bar(y,0.9); b(1).FaceColor='[0.311 0.506 0.741]'; b(1).EdgeColor='[0.311 0.506 0.741]'; b(2).FaceColor='[0.608 0.733 0.349]'; b(2).EdgeColor='[0.608 0.733 0.349]'; b(3).FaceColor='[1.000 0.914 0.000]'; b(3).EdgeColor='[1.000 0.914 0.000]'; b(4).FaceColor='[0.753 0.314 0.302]'; b(4).EdgeColor='[0.753 0.314 0.302]'; hold on for i=1:4 x_position=b(i).XData + b(i).XOffset errorbar(x_position,y(:,i),error(:,i),'LineStyle','none','color','k') end box off grid on ylim([0 14]) ylabel('number of interactions','Fontsize',15) set(gca,'yTick',0:2:15); xlim([0 7]) set(gca,'TickLabelInterpreter','latex'); set(gca,'FontSize',15); leg=legend('$$Complex\ 1$$','$$Complex\ 2$$','$$Complex\ 3$$','$$Complex\ 4$$') legend boxoff set(leg,'Interpreter','latex','FontSize',12); set(gca, 'XTickLabel',{'$$_{adh}OH...O_{Cell}$$','$$_{adh}O...HO_{Cell}$$','$$_{adh}CH...O_{Cell}$$','$$_{adh}O...HC_{Cell}$$','$$_{adh}C_{\pi}H...O_{Cell}$$','$$_{adh}C...HC_{Cell}$$'}); set(gca,'TickLabelInterpreter','latex'); set(gca,'FontSize',15); set(gcf,'Position',[158.3333333333333,65,1032,551.3333333333333]) % fig=figure(7); print(fig,'Figure_7','-djpeg','-r600','-opengl') %}