StatisticalPlots`
StatisticalPlots`

Leaves

Leaves

is an option for StemLeafPlot that specifies how leaves should be displayed.

更多信息和选项

  • To use Leaves, you first need to load the Statistical Plots Package using Needs["StatisticalPlots`"].
  • Valid settings for the option Leaves are "Digits", "Tallies", or None.
  • With the default setting Leaves->"Digits", leaves are represented by the single digit obtained by rounding the digits remaining after the stem is removed.
  • With the setting Leaves->"Tallies", leaves are represented as tally marks with the default tally symbol "X".
  • With the setting Leaves->None, the leaf column is not included in the plot.
  • Leaves can take the following suboptions:
  • "LeafDigits"1number of digits to use for each leaf
    "LeafSpacing"Automaticnumber of spaces between displayed leaves
    "LeafWrapping"Nonewhen leaves should be wrapped to a new line
    "RoundLeaves"Truewhether data entries should be rounded before determining leaves
    "TallySymbol""X"symbol to use for each leaf
  • Valid settings for "LeafDigits" are positive integers.
  • Valid settings for the suboption "LeafSpacing" are Automatic or a non-negative integer.
  • With the default setting "LeafSpacing"->Automatic, zero spaces are used when "LeafDigits"->1 and one space is used otherwise.
  • Valid settings for "LeafWrapping" are None or a positive integer indicating the number of leaves to display before wrapping to a new line.
  • "RoundLeaves" specifies whether values should be rounded to the last leaf digit before allocating leaves to a stem.
  • Valid settings for "TallySymbol" are any string or symbol.

范例

打开所有单元关闭所有单元

基本范例  (1)

Represent leaves with tally marks:

Options  (5)

"LeafDigits"  (1)

Display each leaf with two digits:

"LeafSpacing"  (1)

Insert three spaces between leaves:

"LeafWrapping"  (1)

Wrap to a new line after two leaves:

"RoundLeaves"  (1)

Construct leaves without first rounding to the number of leaf digits:

"TallySymbol"  (1)

Represent leaves as check marks:

Wolfram Research (2007),Leaves,Wolfram 语言函数,https://reference.wolfram.com/language/StatisticalPlots/ref/Leaves.html.

文本

Wolfram Research (2007),Leaves,Wolfram 语言函数,https://reference.wolfram.com/language/StatisticalPlots/ref/Leaves.html.

CMS

Wolfram 语言. 2007. "Leaves." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/StatisticalPlots/ref/Leaves.html.

APA

Wolfram 语言. (2007). Leaves. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/StatisticalPlots/ref/Leaves.html 年

BibTeX

@misc{reference.wolfram_2024_leaves, author="Wolfram Research", title="{Leaves}", year="2007", howpublished="\url{https://reference.wolfram.com/language/StatisticalPlots/ref/Leaves.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_leaves, organization={Wolfram Research}, title={Leaves}, year={2007}, url={https://reference.wolfram.com/language/StatisticalPlots/ref/Leaves.html}, note=[Accessed: 22-November-2024 ]}