此为 Mathematica 7 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)

ParetoPlot

ParetoPlot[list]
creates a Pareto plot from the frequencies of the elements in list.
ParetoPlot[{{cat1, freq1}, {cat2, freq2}, ...}]
creates a Pareto plot from categories cati with frequencies freqi.
  • ParetoPlot combines a bar chart displaying percentages of categories in the data with a line plot showing cumulative percentages of the categories.
  • The categories are sorted in decreasing order of frequency.
  • ParetoPlot has the same options as Graphics, with the following additions and changes:
AxesTruewhether to draw axes
BarOriginBottomorigin placement for bars
BarSpacingAutomaticfractional spacing between bars
ChartElementFunctionAutomatichow to generate raw graphics for bars
ChartElementsAutomaticgraphics to use in each of the bars
ChartLabelsAutomaticlabels for bars
ChartStyleAutomaticstyle for bars
ColorFunctionAutomatichow to color bars
ColorFunctionScalingTruewhether to normalize arguments to ColorFunction
LabelingFunctionAutomatichow to label bars
PlotMarkersAutomaticmarkers for points
PlotStyleAutomaticstyles for the line
  • The BarOrigin option applies to the entire plot, not just the bars.
Needs["StatisticalPlots`"]
ParetoPlot for categories represented by letters:
In[2]:=
Click for copyable input
Out[2]=