I need to draw two bar plots in a figure with yy. The problem is one bar plot covers the other one and I want it to be transparent.
figurex= 1:1:24;yyaxis leftbar(x,R2,'FaceColor',[.8 0.2 0.5]);ylabel('R2')yyaxis rightbar(x,RMSE,'FaceColor',[0.5 0.5 .7]);ylabel('RMSE')xticks([1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24]);xlabel('Hour');
Best Answer