pie3d
Three-dimensional pie plot.
pie3d(x)
pie3d(x,explode,legends)
Inputs
x A vector of real numbers.
explode A vector of ones and zeros.
legends An array of strings, each corresponding to a column of of x .


Description
The function displays a three-dimensional pie chart of the input array, representing each of its element as a sector of a thin cylinder. The elements of the third input, if specified, are used to label the sectors. If any of the elements of explode is non-zero, the corresponding sector is offset from the center. The optional inputs can be specified in any order.


Example
>>a=[214.8,58.2,17.6,15,4.2]
>>pie3d(a,[1,0,1,0],{"USA","UK","Canada","Autralia","Ireland"});
>>title({"Countries with Highest Population"," of Native English Speakers"})