colormap including gray for out of range

2 次查看(过去 30 天)
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?

回答(1 个)

DGM
DGM 2021-4-10
编辑:DGM 2021-4-10
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.

类别

Help CenterFile Exchange 中查找有关 Red 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by