Histogram

As of Version 7.0, Histogram is part of the built-in Mathematica kernel.


generates a histogram of the univariate data .

Histogram[{f1, f2, ...}, FrequencyData->True]
generates a histogram of the univariate frequency data , where is the frequency with which the original data occurs in category i.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

In[1]:=
Click for copyable input

Histogram of 1000 normally distributed random numbers:

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

Histogram of 1000 uniformly distributed random numbers:

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

Histogram from a list of frequencies:

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