clear all
clf
echo on

data = [10 2 3 5; 5 8 10 3; 9 7 6 1; 3 5 7 2; 4 7 5 3];

subplot(2,3,1)
bar(data, 'stacked');
title('Bar Graph - (BAR, ''stacked'')');
subplot(2,3,2)
bar3h(data);
title('Horizontal Bar Graph - (BAR3H, ''grouped'')');
 
subplot(2,3,3)
hist(randn(1000,3));
title('Histogram - (HIST)');

subplot(2,3,4)
area(data);
title('Area Plot - (AREA)');

subplot(2,3,5)
pie3(sum(data), [0 0 1 0]);
title(['3-D Pie Chart';'    (PIE3)   ']);

subplot(2,3,6)
rose(5/3*randn(1000,1), 18);
title('Polar Histogram - (ROSE)');
set(gcf,'Position',[184 248 740 424])

echo off
shg