How to customize "colormap" in matlab?
조회 수: 2 (최근 30일)
이전 댓글 표시
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)?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147946/image.png)
댓글 수: 0
답변 (1개)
Navid Ghajarnia
2018년 10월 11일
편집: Navid Ghajarnia
2018년 10월 11일
As an option, check out this link: https://www.researchgate.net/post/How_can_one_customize_colormap_in_matlab
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Colormaps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!