pareto(Y) pareto(Y,names) pareto(Y,X) H = pareto(...)

Description

Pareto charts display the values in the vector Y as
bars drawn in descending order. Values in Y must
be nonnegative and not include NaNs. Only the first
95% of the cumulative distribution is displayed.

pareto(Y) labels each bar
with its element index in Y and also plots a line
displaying the cumulative sum of Y.

pareto(Y,names) labels
each bar with the associated name in the string matrix or cell array names.

pareto(Y,X) labels each
bar with the associated value from X.

pareto(ax,..) plots into the axes ax rather
than the current axes, gca.

H = pareto(...) returns
handles to the primitive line and bar series objects created.

pareto displays the elements in y as bars in descending order and labels each bar with its index in y. Since pareto displays only the first 95% of the cumulative distribution, some elements in y are not displayed.

You can use pareto to display the output
of hist, even for vectors that include negative
numbers. Because only the first 95 percent of values are displayed,
one or more of the smallest bars may not appear. If you extend the Xlim of
your chart, you can display all the values, but the new bars will
not be labeled.

You cannot place datatips (use the Datacursor tool)
on graphs created with pareto.