How to customize "colormap" in matlab?

1 view (last 30 days)
harsha
harsha on 16 Mar 2015
Edited: Navid Ghajarnia on 11 Oct 2018
in an image i have to set colormap as gray, and i need the min color to be white and max color to be gray. by default min color is black and max color is white.how can i customize this using a command?
and how the image due to imagesc command can be adjusted in figure at desired position( in the middle of figure)?

Answers (1)

Navid Ghajarnia
Navid Ghajarnia on 11 Oct 2018
Edited: Navid Ghajarnia on 11 Oct 2018

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!