Function xyFilterMinYValue

  • Filter an array x/y based on various criteria x points are expected to be sorted

    Parameters

    • data: DataXY<NumberArray>

      object containing 2 properties x and y

    • OptionalminRelativeYValue: number

      the minimum relative value compare to the Y max value

    Returns DataXY<NumberArray>

    filtered data