pareto
- : pareto
(y)¶ - : pareto
(y, x)¶ - : pareto
(ax, …)¶ - :
h =pareto(…)¶ - :
[h, ax2] =pareto(…)¶ Draw a Pareto chart.
The non-negative values y are sorted in descending order and shown as bars on the left axis; at most ten bars are drawn and the display stops once the cumulative total reaches 95 percent. A line on a second, right-hand axis (scaled 0 to 100) shows the cumulative percentage. The optional x gives one category label per value (a cell array of strings, a character matrix or a numeric vector).
h is the pair of handles
[bars; line]; ax2 holds the left and right axes.