plotomics
    Preparing search index...

    Function isFlatRange

    • Whether [lo, hi] is flat: no width, or narrower than 1e-12 of its values. A round step that small sits within a few thousand units of the last digit of the values, and its labels would repeat, so such a range gets one tick, as a range with no width does.

      Parameters

      • lo: number
      • hi: number

      Returns boolean