subplot(2,2,1);
subplot(2,2,2);
subplot(2,2,3);
subplot(2,2,4);
xIdx = [0.0,21.2,31.5,35.7,44.2,58.3,64.4,82.7,97.0,120.4];
b4 = bar(price_volatility,profit_all,'linewidth',0.1,'FaceColor','flat');
for k=1:size(profit_all,2)
b4(k).CData = k+1;
end
xticks([0.0 21.2 31.5 35.7 44.2 58.3 64.4 82.7 97.0 120.4]);
xticklabels({'0.0','21.2','31.5','35.7','44.2','58.3','64.4','82.7','97.0','120.4'});
xtickangle(45);
ax = gca;
ax.XAxis.FontSize = 8;
legend({'A1','A2'},'fontsize',9);
xlabel('Fig.2(d):X Axis Label','fontsize',12);
ylabel('Y Axis Label','fontsize',12);