こんにちは、Matlab に次のコードがあります
CC_monthly_thermal_demand = [495 500 500 195 210 100 70 65 85 265 320 430]';
AD_monthly_thermal_generation_250 = [193 193 193 193 193 193 193 193 193 193 193 193]';
figure;
bar(1:12,AD_monthly_thermal_generation_250)
hold on
bar(1:12,CC_monthly_thermal_demand,'r')
set(gca,'XTickLabel',{'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug',' Sep', 'Oct', 'Nov',' Dec'},'FontSize',18)
title('Seasonal Anaerobic Digestion (250kWe) Thermal Energy Supply to Demand - 2012','FontSize',22)
ylabel('Thermal Energy (MWhe)')
legend('250 kWth Supply','Thermal Energy Demand')
grid on
axis([0 13 0 600])
すべてのバーの各変数の色を示す積み上げ棒グラフをプロットしようとしています。ただし、「AD_monthly_thermal_generation_250」が「CC_monthly_thermal_demand」よりも低い値であるバーの場合、「AD_monthly_thermal_generation_250」の色は「CC_monthly_thermal_demand」によって完全に覆われているため、これらの値は表示されません。それらを見ることは可能ですか?
ありがとうございました