OBSOLETE HISTOGRAMS PACKAGE SYMBOL

HistogramScale

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 way in which the bar heights are to be scaled.

DetailsDetails

  • To use , you first need to load the Histograms Package using .
  • HistogramScale->Automatic does not scale the bar heights when there are equally sized intervals.
  • HistogramScale->Automatic scales the bar heights by the interval sizes when the intervals are not equally sized.
  • HistogramScale->True always scales the bar heights by the interval sizes regardless of whether the interval sizes are equal.
  • HistogramScale->k scales bar heights so that the bar areas or bar volumes sum to the positive number k.
  • gives a probability density plot.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

By default each bar height corresponds to the number of values in the interval:

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

Use to have get a probability density:

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