Draws a histogram of the samples in List. List must be a list of pairs of the form [V]-W or V-W
where V is a sampled value and W is its weight, or a list of values.
Options is a list of options, the following are recognised by histogram/3:
- min(+Min:float)
- the minimum value of domain, default value the minimum in List
- max(+Max:float)
- the maximum value of domain, default value the maximum in List
- nbins(+NBins:int)
- the number of bins for dividing the domain, default value 40
Draws a line chart of the density of a sets of samples.
The samples are in List
as pairs [V]-W or V-W where V is a value and W its weigth.
Options is a list of options, the following are recognised by density/3:
- min(+Min:float)
- the minimum value of domain, default value the minimum in List
- max(+Max:float)
- the maximum value of domain, default value the maximum in List
- nbins(+NBins:int)
- the number of bins for dividing the domain, default value 40
Returns a set of 3-dimensional points representing the plot of the
density of a sets of 2-dimensional samples.
The samples are in List
as pairs [X,Y]-W where (X,Y) is a point and W its weigth.
Options is a list of options, the following are recognised by density2d/3:
- xmin(+XMin:float)
- the minimum value of the X domain, default value the minimum in List
- xmax(-XMax:float)
- the maximum value of the X domain, default value the maximum in List
- ymin(-YMin:float)
- the minimum value of the Y domain, default value the minimum in List
- ymax(-YMax:float)
- the maximum value of the Y domain, default value the maximum in List
- nbins(+NBins:int)
- the number of bins for dividing the X and Y domains, default value 40