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.
更多信息和选项
- 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
范例
Wolfram Research (2008),Histogram,Wolfram 语言函数,https://reference.wolfram.com/language/Histograms/ref/Histogram.html.
文本
Wolfram Research (2008),Histogram,Wolfram 语言函数,https://reference.wolfram.com/language/Histograms/ref/Histogram.html.
CMS
Wolfram 语言. 2008. "Histogram." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Histograms/ref/Histogram.html.
APA
Wolfram 语言. (2008). Histogram. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Histograms/ref/Histogram.html 年