package prbnmcn-gnuplot
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Plot.HistogramSource
Preparing histograms.
Source
val hist :
points:r1 Data.t ->
?color:Color.t ->
?bins:int ->
?binwidth:float ->
?legend:string ->
unit ->
r2 spechist ~points ?color ?bins ?binwidth ?legend creates an histogram out of points.
- The optional argument
?colorspecifies the color of the histogram. - The optional argument
?binsspecifies the number of bins to be used when constructing the histogram. - The optional argument
?binwidthspecifies the width of each bin: the bigger, the coarser the histogram. - The optional argument
?legendspecifies the legend attached to the histogram. If neither the?binsor?binwidthparameter is specified, this command will let?binsdefault to20and will let?binwidthbe automatically computed by Gnuplot.