ticks_pgrid

zdm.figures.ticks_pgrid(vals, everyn=5, fmt=None, these_vals=None)[source]

Generate ticks for one of the P(x,x,x) grids

Parameters:
  • vals (_type_) – _description_

  • everyn (int, optional) – _description_. Defaults to 5.

  • fmt (_type_, optional) – _description_. Defaults to None.

  • these_vals (list or np.ndarray, optional) – Values to place the ticks at

Returns:

Tick locations, values

Return type:

np.ndarray, np.ndarray