SharpPlot Reference > SharpPlot Methods > GroupBy Method > (Int32[],GroupByFunction)

SharpPlot.GroupBy Method (Int32[],GroupByFunction)

Group integer data into default categories, specifying the grouping function to use (such as Count or Average).

public void GroupBy(
    int[] values,
    GroupByFunction groupingFunction
);

The ‘bins’ will simply be the distinct values in the data, taken in order of first appearance.

See also ...

SharpPlot Members | SharpPlot.GroupBy Method


Send comments on this topic
© Dyalog Ltd 2021