---
type: Use Case
title: Sign or threshold emphasis
description: Signed data where which side of zero (or of a threshold) each value falls on matters more than small magnitudes.
tags:
  - use-case
  - diverging
sources:
  - id: note-pivot
    resource: https://colorcurio.us/notes/diverging-pivot-sharpness
    title: "colorcurio.us note: How sharp should the pivot be?"
x-colorcurious-slug: signed-threshold
x-colorcurious-colormap-type: diverging
x-colorcurious-synonyms:
  - sign
  - threshold
  - above or below
  - gain or loss
  - positive negative
  - surplus deficit
  - zero crossing
x-colorcurious-recommended:
  - cmocean.balance
  - cmocean.diff
  - cmocean.curl
x-colorcurious-data: https://colorcurio.us/data/use-cases.json#signed-threshold
---

# Sign or threshold emphasis

> Signed data where which side of zero (or of a threshold) each value falls on matters more than small magnitudes.

Required colormap type: **diverging**. Also known as: sign, threshold, above or below, gain or loss, positive negative, surplus deficit, zero crossing.

## Constraints

A map must be diverging and pass every test below. Fields are paths in [catalog.json](https://colorcurio.us/data/catalog.json) entries.

- `perceptual.diverging.pivot_L` ≥ 0.85 — A light pivot on a light background.
- `perceptual.diverging.pivot_smoothness` ≤ 0.6 — A sharp turn at the pivot makes the zero crossing a visible edge.
- `cvd.protan.preserves_order`, `cvd.deutan.preserves_order`, `cvd.tritan.preserves_order` = true — Both arms must stay ordered under simulated CVD.

## Recommended

1. [Balance](../colormaps/cmocean.balance.md) (`cmocean.balance`): Measured pivot smoothness 0.53; the arms turn sharply at zero. Designed for SST anomaly. Low end #181c43, high end #3c0912, pivot #f1ecec. License: MIT. Stops: [JSON](https://colorcurio.us/data/colormaps/cmocean.balance.json).
2. [Diff](../colormaps/cmocean.diff.md) (`cmocean.diff`): cmocean map designed for anomalies of fields with a non-zero baseline; pivot smoothness 0.47. Low end #082340, high end #1c2207, pivot #f6f1f0. License: MIT. Stops: [JSON](https://colorcurio.us/data/colormaps/cmocean.diff.json).
3. [Curl](../colormaps/cmocean.curl.md) (`cmocean.curl`): Sharp V at the pivot (pivot smoothness 0.43); designed for curl fields. Low end #151d44, high end #340d35, pivot #fdf5f4. License: MIT. Stops: [JSON](https://colorcurio.us/data/colormaps/cmocean.curl.json).

## Notes

Anchor the pivot to the threshold itself, never the data median.

## Other maps that pass

26 other diverging maps pass the constraints (not reviewed for this task; maps under Avoid are left out): `carto.ArmyRose`, `carto.Earth`, `carto.Fall`, `carto.Geyser`, `carto.TealRose`, `carto.Tropic`, `cmasher.fusion`, `cmasher.holly`, `cmasher.prinsenvlag`, `cmasher.viola`, `cmasher.waterlily`, `cmocean.delta`, `cmocean.tarn`, `colorbrewer.RdGy`, `colorbrewer.RdYlGn`, `colorbrewer.Spectral`, `matplotlib.Spectral`, `moreland.bent-cool-warm`, `ncar.precip_diff_12lev`, `ncar.temp_diff_18lev`, `paraview.blue-orange-div`, `paraview.cool-to-warm-ext`, `paraview.erdc-divhi-purplegreen`, `paraview.green-blue-asym-div`, `paraview.pv-6-default`, `paraview.warm-to-cool-ext`.

## See also

- [Correlation and noisy values near zero](correlation.md)
- [Temperature anomaly or change](temperature-anomaly.md)

## Further reading

- [colorcurio.us note: How sharp should the pivot be?](https://colorcurio.us/notes/diverging-pivot-sharpness)
