creates a stem-and-leaf plot for the real-valued vector data.
creates a side-by-side stem-and-leaf plot for the vectors data1 and data2.
- To use StemLeafPlot, you first need to load the Statistical Plots Package using Needs["StatisticalPlots`"].
- 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:
ColumnLabels Automatic labels for the columns of the plot IncludeEmptyStems False whether to display stems without leaves IncludeStemCounts False whether to include a column of leaf counts IncludeStemUnits True whether stem units should be included Leaves "Digits" how leaves are represented StemExponent Automatic stem units given as an integer power of 10
Examplesopen allclose all
StemLeafPlot with stem and leaf columns labeled with "S" and "L":
StemLeafPlot including stems that have no leaves: