How to create a custom grayscale colormap between white and black?

13 views (last 30 days)
How to create a custom grayscale colormap between white and black? In a way the maximum value of an array is back and the minimum value of an array is white

Accepted Answer

Simon Chan
Simon Chan on 12 Jan 2022
You may use 'colormapeditor' as follows to create a custom colormap:

More Answers (0)

Categories

Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!