colormap including gray for out of range

2 visualizzazioni (ultimi 30 giorni)
Steve Yon
Steve Yon il 9 Apr 2021
Modificato: DGM il 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?

Risposte (1)

DGM
DGM il 10 Apr 2021
Modificato: DGM il 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.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by