---
type: Use Case
title: Phase, direction and time of day
description: Angular data that wraps around, such as wind or wave direction, phase angle, aspect, time of day or day of year.
tags:
  - use-case
  - cyclic
sources:
  - id: kovesi-2015
    resource: https://arxiv.org/abs/1509.03700
    title: "Kovesi (2015), Good Colour Maps: How to Design Them. arXiv:1509.03700"
x-colorcurious-slug: phase-direction
x-colorcurious-colormap-type: cyclic
x-colorcurious-synonyms:
  - phase
  - angle
  - direction
  - wind direction
  - azimuth
  - aspect
  - time of day
  - hour
  - day of year
  - season
  - wave direction
  - heading
x-colorcurious-recommended:
  - cmocean.phase
  - matplotlib.twilight
  - crameri.romaO
  - crameri.batlowO
  - colorcet.cb-cyclic
x-colorcurious-data: https://colorcurio.us/data/use-cases.json#phase-direction
---

# Phase, direction and time of day

> Angular data that wraps around, such as wind or wave direction, phase angle, aspect, time of day or day of year.

Required colormap type: **cyclic**. Also known as: phase, angle, direction, wind direction, azimuth, aspect, time of day, hour, day of year, season, wave direction, heading.

## Constraints

Any cyclic map qualifies; choose by the reasons below.

## Recommended

1. [Phase](../colormaps/cmocean.phase.md) (`cmocean.phase`): cmocean cyclic map designed for phase angles (nearly constant lightness, about 0.60–0.63). It relies on hue alone, so it is weak under CVD (uniformity 0.10–0.35); prefer colorcet.cb-cyclic when that matters. Low end #a8780d, high end #a8780d. License: MIT. Stops: [JSON](https://colorcurio.us/data/colormaps/cmocean.phase.json).
2. [Twilight](../colormaps/matplotlib.twilight.md) (`matplotlib.twilight`): matplotlib's default cyclic map; both ends sit at the same light value (lightness 0.89). Low end #e2d9e2, high end #e2d9e2. License: matplotlib (BSD-derived). Stops: [JSON](https://colorcurio.us/data/colormaps/matplotlib.twilight.json).
3. [RomaO](../colormaps/crameri.romaO.md) (`crameri.romaO`): Cyclic variant of Crameri's roma. Low end #6c2b50, high end #6b2b52. License: MIT. Stops: [JSON](https://colorcurio.us/data/colormaps/crameri.romaO.json).
4. [BatlowO](../colormaps/crameri.batlowO.md) (`crameri.batlowO`): Cyclic version of batlow with no white or black, new in Scientific Colour Maps 9.0.0. Low end #918ab3, high end #938cb4. License: MIT. Stops: [JSON](https://colorcurio.us/data/colormaps/crameri.batlowO.json).
5. [CB-cyclic](../colormaps/colorcet.cb-cyclic.md) (`colorcet.cb-cyclic`): colorcet's color-blind-safe cyclic map (tagged cvd-friendly); its worst-case CVD uniformity (0.81) is the highest of the maps listed here. Low end #3e87ea, high end #3c85e8. License: CC-BY-4.0. Stops: [JSON](https://colorcurio.us/data/colormaps/colorcet.cb-cyclic.json).

## Avoid

- [Sinebow](../colormaps/d3.sinebow.md) (`d3.sinebow`): Cyclic rainbow; its lightness (0.51–0.87) simply follows the hue wheel instead of a designed profile, so some directions stand out for no reason in the data.

## Conventions

- Kovesi describes cyclic color maps for orientation and phase data, which must have matching colors at both ends.[^kovesi-2015]

## Other maps that pass

22 other cyclic maps pass the constraints (not reviewed for this task; maps under Avoid are left out): `cmasher.copper`, `cmasher.emergency`, `cmasher.infinity`, `cmasher.seasons`, `colorcet.cb-tritan-cyclic`, `colorcet.CET-C1`, `colorcet.colorwheel`, `colorcet.cyclic-bgrmb`, `colorcet.cyclic-grey`, `colorcet.cyclic-mrybm`, `colorcet.cyclic-mybm`, `colorcet.cyclic-rygcbmr`, `colorcet.cyclic-wrkbw`, `colorcet.cyclic-wrwbw`, `colorcet.cyclic-ymcgy`, `crameri.bamO`, `crameri.brocO`, `crameri.corkO`, `crameri.vikO`, `niccoli.IsoAZ`, `niccoli.IsoAZ180`, `paraview.hue-l60`.

## See also

- [Axial orientation (180° periodic)](orientation-axial.md)

[^kovesi-2015]: Kovesi (2015), Good Colour Maps: How to Design Them. arXiv:1509.03700. https://arxiv.org/abs/1509.03700
