MATLAB Pie()

This function creates a pie plot. This function determines the percentage of the total pie corresponding to each value of x, and plots pie slices of that size.

The optional array explodes controls whether or not individual pie slices are separated from the remainder of the pie.

Syntax

Example

Output:

MATLAB Pie()
Next TopicMATLAB hist()