plotomics
    Preparing search index...

    Function zeroTicks

    • Ticks from 0 up to a round top that covers max, aiming for about count intervals. top is the axis maximum to scale bars against.

      Parameters

      • max: number
      • count: number = 4
      • opts: { integer?: boolean } = {}

      Returns { step: number; ticks: number[]; top: number }