Reference > Methods > FindExtremes Method > (Double[][],Double[])

SharpPlot.FindExtremes Method (Double[][],Double[])

Find extreme values from array of arrays of y values and x-values.

public double[] FindExtremes(
    double[][] data,
    double[] xValues
);
data
Array (of arrays) of y values.
xValues
Array of x values.
return value
Bounding box co-ordinates.

Usage

Required for any app which uses ‘Curves’ and needs to set the axis ranges. Will slightly over-estimate as it gets the Bezier control points which are always outside the envelope of the cubic curve.

See also ...

SharpPlot Members | FindExtremes Method


Send comments on this topic
© Dyalog Ltd 2013