WLJS LogoWLJS Notebook

SmoothHistogram

SmoothHistogram[{x1, x2, ...}] plots a smooth kernel histogram for the PDF of the values.

Examples

Smooth histogram of data:

data = RandomVariate[NormalDistribution[], 500];
SmoothHistogram[data]

Multiple datasets:

SmoothHistogram[{RandomVariate[NormalDistribution[0, 1], 500],
                 RandomVariate[NormalDistribution[2, 1], 500]}]

Please visit the official Wolfram Language Reference for more details.

On this page