colormap including gray for out of range

1 view (last 30 days)
Steve Yon
Steve Yon on 9 Apr 2021
Edited: DGM on 10 Apr 2021
so i use trisurf with a color vector to display a surface colored by a parameter within a known range.
what i need is the ability to apply a known color (e.g. gray) to out of range values. is there a way to
build a custom color map which does this?

Answers (1)

DGM
DGM on 10 Apr 2021
Edited: DGM on 10 Apr 2021
You should be able to use colormapeditor to edit the current cmap or any of the presets.
and there are lots of options on the FEX, too.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!