function sloup
P=[2,5,6,7,1;3,4,7,9,2;7,1,5,4,8];
disp(P)
subplot(2,3,1)
bar(P,'grouped')
subplot(2,3,2)
bar(P,'stacked')
subplot(2,3,4)
bar3(P,'grouped')
subplot(2,3,5)
bar3(P,'stacked')
subplot(2,3,6)
bar3(P,'detached')
end

