Graphics |
Removing a Piece from a Pie Chart
When the sum of the elements in the first input argument is equal to or greater than 1
, pie
and pie3
normalize the values. So, given a vector of elements x, each slice has an area of xi/sum(xi), where xi
is an element of x. The normalized value specifies the fractional part of each pie slice.
When the sum of the elements in the first input argument is less than 1
, pie
and pie3
do not normalize the elements of vector x
. They draw a partial pie. For example,
Pie Charts | Histograms |
© 1994-2005 The MathWorks, Inc.