Cmdlet
New-ConsoleHistogram
Creates a histogram of values counted into buckets.
Syntax
New-ConsoleHistogram -Edge <Double[]> [-Height <Int32>] [-Name <String>] [-Unit <String>] [-Value <Double[]>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Creates a histogram of values counted into buckets.
-Edge defines ascending bucket edges. Bars grow with eighth-block precision on modern fonts. Add values live with Add-ConsoleValue.
Examples
EXAMPLE 1
New-ConsoleHistogram -Edge @(1)Parameters
- -Edge Double[]
- Ascending bucket edges (at least two).
- -Height Int32
- Rows for the bars (default 6).
- -Name String
- The live name (default histogram).
- -Unit String
- A unit for bucket labels.
- -Value Double[]
- Values to count.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.