Y=cool(8); subplot(221);bar3(Y,'detached');title('Detached'); subplot(222);bar3(Y,'grouped');title('Grouped'); subplot(223);bar3(Y,'stacked');title('Stacked'); subplot(224);bar3(Y,0.3,'stacked');title('Stacked'); colormap([1,0,0;0,1,0;0,0,1])
Y=cool(8); subplot(221);bar3(Y,'detached');title('Detached'); subplot(222);bar3(Y,'grouped');title('Grouped'); subplot(223);bar3(Y,'stacked');title('Stacked'); subplot(224);bar3(Y,0.3,'stacked');title('Stacked'); colormap([1,0,0;0,1,0;0,0,1])
转载于:https://www.cnblogs.com/Airboy1/p/9535055.html