This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

StemLeafPlot

StemLeafPlot[data]
creates a stem-and-leaf plot for the real-valued vector data.

creates a side-by-side stem-and-leaf plot for the vectors and .
  • 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.
  • 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
of one dataset:
Side-by-side of two datasets:
Needs["StatisticalPlots`"]
of one dataset:
In[2]:=
Click for copyable input
Out[2]=
 
Needs["StatisticalPlots`"]
Side-by-side of two datasets:
In[2]:=
Click for copyable input
Out[2]=
with stem and leaf columns labeled with and :
including stems which have no leaves:
Add stem counts to the plot:
Omit stem units legend from plot:
Represent leaves with tally marks:
Specify a base unit of :