auto_xy_histogramΒΆ

Creates a histogram for the given 2D dataset.

hDataNew = auto_xy_histogram(hData, nType, rsClassMin, rsClassMax, rsClassWidth)
hDataNew = auto_xy_histogram(hData_Layer, nType, rsClassMin, rsClassMax, rsClassWidth)
hDataNew = auto_xy_histogram(hData, nType, rsClassMin, rsClassMax, rsClassWidth, bShowNormalDistribution)
hDataNew = auto_xy_histogram(hData_Layer, nType, rsClassMin, rsClassMax, rsClassWidth, bShowNormalDistribution)

Return Value

hDataNew is the handle of the new 2D dataset.

Parameters

hData

hData is the handle of a 2D dataset. The new dataset hDataNew will be added to the layer (diagram) in which the dataset hData is located.

hData_Layer

hData_Layer is a vector with two elements. The first element is a handle of a 2D dataset and the second element is a handle of a layer (diagram) to which the new dataset should be added.

nType

Is one of the following values:

Value Description
1 Absolute Frequency
2 Relative Frequency in %
3 Absolute Cumulativ Frequency
4 Relative Cumulativ Frequency in %
rsClassMin

Lower class limit.

rsClassMax

Upper class limit

rsClassWidth

Is the bin width. The number of bins is nClass = (rsClassMax - rsClassMin) / rsClassWidth.

bShowNormalDistribution

For nType = 1 a normal distribution curve can be displayed. Default value 0.

id-449393