Function: PieChart - produce a pie chart from data

Calling sequence:

PieChart(L, options);

Parameters:

L - a list, or one-dimensional array or Array, of positive numbers

options - many of the usual two-dimensional plot options, plus explode = E , where E is an integer or a list of positive integers.

Description:

Examples:

A simple pie chart.

> PieChart([3,1,4,1,5]);

[Maple Plot]

The same data, with specified colours and labels and the first slice exploded..

> PieChart([3,1,4,1,5],colour=[red,yellow,green,blue,magenta],labels=["A","B","C","D","E"],explode=[1]);

[Maple Plot]

See also: plot[options] , BarChart

Maple Advisor Database R. Israel, 2000