OBSOLETE HISTOGRAMS PACKAGE SYMBOL

HistogramCategories

As of Version 7.0, has been superseded by an optional argument hspec for the built-in Mathematica function Histogram.


is an option of histogram functions that specifies the categories in the histogram.

DetailsDetails

  • To use , you first need to load the Histograms Package using .
  • 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.
  • specified that an m×n grid of categories should be used for Histogram3D.
  • uses categories .
  • specifies unequally sized categories in Histogram3D.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

Automatically choose categories by default:

In[2]:=
Click for copyable input
Out[2]=

Use five equally sized categories:

In[3]:=
Click for copyable input
Out[3]=

With ApproximateIntervals->True the number of categories depends on the range of values:

In[4]:=
Click for copyable input
Out[4]=

Use a specific list of categories:

In[5]:=
Click for copyable input
Out[5]=
New to Mathematica? Find your learning path »
Have a question? Ask support »