Setting the colorbar ticks
이전 댓글 표시
Hey guys!!
I am trying to set specific values to my colorbar but apparently they are not setting in the specific color limits, does anyone know how to fix this?

Thanks!
답변 (1개)
Ameer Hamza
2020년 6월 17일
편집: Ameer Hamza
2020년 6월 17일
I think it is better to use the correct number of colors so that the tick align with the colors
map = jet(10);
colormap(map)
colorbar
카테고리
도움말 센터 및 File Exchange에서 Colorbar에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!