Histograms`
Histograms`
HistogramCategories
As of Version 7.0, HistogramCategories has been superseded by an optional argument hspec for the built-in Wolfram Language function Histogram.
HistogramCategories
is an option of histogram functions that specifies the categories in the histogram.
更多信息和选项
- To use HistogramCategories, you first need to load the Histograms Package using Needs["Histograms`"].
- With HistogramCategories->Automatic, the categories are chosen to be intervals of equal width. The number of categories is chosen automatically.
- HistogramCategories->n specifies that n equally sized categories should be used.
- HistogramCategories->{m,n} specified that an m×n grid of categories should be used for Histogram3D.
- HistogramCategories->{c1,c2,…,cn} uses categories {c1≤x<c2,…,cn-1≤x<cn}.
- HistogramCategories->{{c1,…,cn},{d1,…,dl}} specifies unequally sized categories in Histogram3D.
范例
基本范例 (1)
Automatically choose categories by default:
Use five equally sized categories:
With ApproximateIntervals->True, the number of categories depends on the range of values:
Wolfram Research (2007),HistogramCategories,Wolfram 语言函数,https://reference.wolfram.com/language/Histograms/ref/HistogramCategories.html.
文本
Wolfram Research (2007),HistogramCategories,Wolfram 语言函数,https://reference.wolfram.com/language/Histograms/ref/HistogramCategories.html.
CMS
Wolfram 语言. 2007. "HistogramCategories." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Histograms/ref/HistogramCategories.html.
APA
Wolfram 语言. (2007). HistogramCategories. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Histograms/ref/HistogramCategories.html 年