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

StemLeafPlot

StemLeafPlot[data]
creates a stem-and-leaf plot for the real-valued vector data.
StemLeafPlot[data1, data2]
creates a side-by-side stem-and-leaf plot for the vectors data1 and data2.
  • StemLeafPlot displays the distribution of real-valued numbers as stems and leaves in a tabular form.
  • Stems are multipliers of a base unit, and leaves are remainders rounded to a given number of digits.
  • StemLeafPlot has the same options as GridBox, with the following additions:
ColumnLabelsAutomaticlabels for the columns of the plot
IncludeEmptyStemsFalsewhether to display stems without leaves
IncludeStemCountsFalsewhether to include a column of leaf counts
IncludeStemUnitsTruewhether stem units should be included
Leaves"Digits"how leaves are represented
StemExponentAutomaticstem units given as an integer power of 10
Needs["StatisticalPlots`"]
StemLeafPlot of one dataset:
In[2]:=
Click for copyable input
Out[2]=
 
Needs["StatisticalPlots`"]
Side-by-side StemLeafPlot of two datasets:
In[2]:=
Click for copyable input
Out[2]=