Setting the colorbar ticks
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/317826/image.png)
Thanks!
0 Kommentare
Antworten (1)
Ameer Hamza
am 17 Jun. 2020
Bearbeitet: Ameer Hamza
am 17 Jun. 2020
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
0 Kommentare
Siehe auch
Kategorien
Mehr zu Colorbar finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!