





























%Y=[0.2 1.4; 0.5 3.5;1.6 6.9;8.2 19.9;32.6 44.5];
%X=[0.1 6.17;1 8.11;1.82 11.22;4.35 22.26;7.93 36.3];
%Y=[31.70 30.20 30.12;28.89 25.05 53.52 ;46.54 49.09 46.46];
%X=[3.26 2.85;4.97 5.35;9.32 7.61;22.88 13.81;38.7 21.21];
Y=[50.86 50.77;45.03 28.82 ;27.79 25.44];
figure;
h=bar(Y,0.5);
%第三张set(h(1),'FaceColor',[0.75 0.75 0.75])
%set(h(2),'FaceColor',[0.63,0.4,0.83])
%set(h(3),'FaceColor',[1,0.87,0.68])
%set(h(1),'FaceColor',[1 0.89 0.52])
%set(h(2),'FaceColor',[0.53 0.81 0.92])
set(h(1),'FaceColor',[0.25 0.88 0.82])
set(h(2),'FaceColor',[0.98 0.5 0.45])
%g=plot(X,'-*','Linewidth',1.1);
%set(g(1),'Color',[0 0 0])
%set(g(2),'Color',[0.89,0.81,0.34])
hold on;
x2=[1 2 3];
y1=[50.86 45.03 27.79 ];
y2=[ 50.77 28.82 25.44];
%y3=[30.12 53.52 46.46];
set(gca,'XTickLabel',{'乙醇转化率','C4烯烃选择性','C4烯烃收率'});
ylim([0,max(max(Y)+10)]);
%text(1:length(Y),Y,num2str(Y),'vert','bottom','horiz','center');
%title('');
%xlabel('温度');
box on
for i = 1:length(x2)
text( x2(i)-0.15,y1(i),num2str(y1(i)),'HorizontalAlignment','center','VerticalAlignment','bottom')
text( x2(i)+0.15,y2(i),num2str(y2(i)),'HorizontalAlignment','center','VerticalAlignment','bottom')
%text( x2(i)+0.23,y3(i),num2str(y3(i)),'HorizontalAlignment','center','VerticalAlignment','bottom')
end
ylabel('百分比%');
%set(gca,'Xticklabel', ['A1催化剂组合','A3催化剂组合','乙醇转化率','C4烯烃选择性'])
legend('D2','D5')