pie
Two-dimensional pie plot.
pie(x)
pie(x,legends)
Inputs
x A vector of real numbers.
legends An array of strings, each corresponding to a column of of x .


Description
The function displays a pie chart of the input array, representing each of its element as a sector of a circle. The elements of the second input, if specified, are used to label the sectors.


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