eradiate.plot.make_ticks

Contents

eradiate.plot.make_ticks#

eradiate.plot.make_ticks(num_ticks, limits)[source]#

Generate ticks and their respective tickmarks.

Parameters:
  • num_ticks (int) – Number of ticks to generate, including the limits of the given range

  • limits (tuple[float, float]) – List of two values, limiting the ticks inclusive

Returns:

  • steps (list of float) – Values for the ticks.

  • marks (list of str) – Tick values converted to degrees as string tickmarks.