Histograms`
Histograms`
Histogram
As of Version 7.0, Histogram is part of the built-in Wolfram Language kernel.
Histogram[{x1,x2,…}]
generates a histogram of the univariate data {x1,x2,…}.
Histogram[{f1,f2,…},FrequencyData->True]
generates a histogram of the univariate frequency data {f1,f2,…}, where fi is the frequency with which the original data occurs in category i.
Details and Options
- To use Histogram, you first need to load the Histograms Package using Needs["Histograms`"].
- The width of each bar in the histogram is proportional to the width of the interval defining the respective category.
- The area of each bar in the histogram is proportional to the frequency with which the data falls in that category.
- The following options can be given:
-
ApproximateIntervals Automatic whether to adjust the interval boundaries to be simple numbers BarOrientation Vertical how to arrange the bars BarEdgeStyle GrayLevel[0] style of the edges of bars BarStyle Automatic style of the faces of bars FrequencyData False whether input represents the original data or frequencies in categories HistogramCategories Automatic specify categories in the histogram HistogramRange Automatic lower and upper limits of points in histogram HistogramScale Automatic scaling of the bar heights Ticks Automatic specify tick marks for axes
Examples
Wolfram Research (2008), Histogram, Wolfram Language function, https://reference.wolfram.com/language/Histograms/ref/Histogram.html.
Text
Wolfram Research (2008), Histogram, Wolfram Language function, https://reference.wolfram.com/language/Histograms/ref/Histogram.html.
CMS
Wolfram Language. 2008. "Histogram." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Histograms/ref/Histogram.html.
APA
Wolfram Language. (2008). Histogram. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Histograms/ref/Histogram.html