function hh = pie(varargin)
%PIE Pie chart.
% PIE(X) draws a pie plot of the data in the vector X. The values in X
% are normalized via X/SUM(X) to determine the area of each slice of pie.
% If SUM(X) <= 1.0, the values in X directly specify the area of the pie
% slices. Only a partial pie will be drawn if SUM(X) < 1.
%
% PIE(X,EXPLODE) is used to specify slices that should be pulled out from
% the pie. The vector EXPLODE must be the same size as X. The slices
% where EXPLODE is non-zero will be pulled out.
%
% PIE(...,LABELS) is used to label each pie slice with cell array LABELS.
% LABELS must be the same size as X and can only contain strings.
%
% PIE(AX,...) plots into AX instead of GCA.
%
% H = PIE(...) returns a vector containing patch and text handles.
%
% Example
% pie([2 4 3 5],{'North','South','East','West'}
一、源代码function hh = pie(varargin)%PIE Pie chart.% PIE(X) draws a pie plot of the data in the vector X. The values in X% are normalized via X/SUM(X) to determine the area of each slice of pie