colormap including gray for out of range

2 ビュー (過去 30 日間)
Steve Yon
Steve Yon 2021 年 4 月 9 日
編集済み: DGM 2021 年 4 月 10 日
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 Center および File ExchangeRed についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by