clc,clear,clf;
x=[3 4 6;5 4 3; 4 3 6; 5 3 4];
subplot(1,2,1);
bar(x,'stack')
subplot(1,2,2);
bar3h(x)