How to customize "colormap" in matlab?

3 ビュー (過去 30 日間)
harsha
harsha 2015 年 3 月 16 日
編集済み: Navid Ghajarnia 2018 年 10 月 11 日
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)?

回答 (1 件)

Navid Ghajarnia
Navid Ghajarnia 2018 年 10 月 11 日
編集済み: Navid Ghajarnia 2018 年 10 月 11 日

カテゴリ

Help Center および File ExchangeColor and Styling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by