Expand description
Colormap LUT data and imagesc rendering (ASCII and SVG/PNG).
Enums§
- Colormap
Spec - A colormap specification: either a built-in named colormap or a custom N×3 look-up table supplied by the user.
Constants§
- VALID_
COLORMAPS - All supported colormap names.
Functions§
- apply_
colormap - Maps a normalised value
t ∈ [0, 1]to an(R, G, B)triple. - apply_
colormap_ spec - Maps a normalised value
t ∈ [0, 1]to an(R, G, B)triple usingspec. - validate_
colormap - Validates a colormap name.
- validate_
colormap_ spec - Validates a
ColormapSpec, returning an error string on failure.