
clear all
close all


 disp('Pie Chart Demo')
 lw = 3; 
 set(0, 'DefaultAxesFontSize', 16);
 fs = 15;
 msize = 10;



% Contribution of 'Column-Sums' to the 
% total Sum
%
close all
XX = [     1.0   3.0  0.5   2.5   2.0; ...
           1.3   2.4  1.0   1.9   2.1; ...
           0.9   3.1  0.8   2.2   2.0;...
           1.1   4.1  0.6   2.4  1.6];
s = sum(XX);
explode = [0 1 0 0 0];
labels = {'Col1', 'Col2', 'Col3', 'Col4', 'Col5'};

figure(1)
subplot(1,2,1)
pie(s,explode,labels)  %pie
subplot(1,2,2)
pie3(s,explode,labels) %pie3
colormap 'summer'

%print -depsc 'C:\Springer\Descriptive\Descriptiveeps\pies.eps'


