Click or drag to resize

HistogramStemLeaf Method

Formats the contents of this histogram into a simple ASCII stem-leaf diagram.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public string StemLeaf()

Return Value

String
A fomatted string.
Remarks
If the bin boundaries are b0, b1, b2,...,bn-1c>, and the counts for these bins are c1, c2,...,cnc>, respectively, then this method returns a string with the following form:
C#
Number smaller:   ***number smaller
[b0,b1):     *****c1
[b1,b2):     **********c2
[b2,b3):     ***************c3
.
.
.
[bn-2,bn-1]: *****cn
Number larger : *****number larger.
where the number of asterisks represents the count for that bin minus one.
See Also