Hello,
I have question regarding the transparency, I wanted to fill the my plots with transprent color as there are four plots, so trying to show all of them. Here the code I'm trying,
z=rand(1,24);s=rand(1,24);t=rand(1,24);time=1:24;EP=[13.2 13.2 9.4 9.4 9.4 9 9 9 9 7 9 9 0 0 0 0 0 0 0 9 9 9 9 7];x = time;y = EP;bottom = 0; plot(x,y)hold onfill([x,fliplr(x)],[y,bottom*ones(size(y))], 'g')hold onz= New2bottom =0; plot(x,z)hold onfill([x,fliplr(x)],[z,bottom*ones(size(z))], 'b')hold ons=New3;bottom = 0; plot(x,s)hold onfill([x,fliplr(x)],[s,bottom*ones(size(s))], 'r')hold ont=New4;bottom = 0; plot(x,t)hold onfill([x,fliplr(x)],[t,bottom*ones(size(t))], 'y')hold onset(gca,'color','w','FontSize',7,'FontWeight','Bold','XTickLabelRotation',45,'XTick',1:24, 'XTickLabel',{'1' '1' '2' '3' '4' '5' '6' '7' '8' '9' '10' '11' '12' '1' '2' '3' '4' '5' '6' '7' '8' '9' '10' '11'});
Best Answer