Statistics Toolbox
  Go to function:
    Search    Help Desk 
pareto    Examples   See Also

Pareto charts for Statistical Process Control.

Syntax

Description

pareto(y,names) displays a Pareto chart where the values in the vector y are drawn as bars in descending order. Each bar is labeled with the associated value in the string matrix names. pareto(y) labels each bar with the index of the corresponding element in y.

The line above the bars shows the cumulative percentage.

pareto(y,'names') labels each bar with the row of the string matrix, 'names', that corresponds to the plotted element of y.

h = pareto(...) returns a combination of patch and line handles.

Example

Create a Pareto chart from data measuring the number of manufactured parts rejected for various types of defects.

See Also



[ Previous | Help Desk | Next ]