Setting the colorbar ticks
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Ameer Hamza
il 17 Giu 2020
Modificato: Ameer Hamza
il 17 Giu 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 Commenti
Vedere anche
Categorie
Scopri di più su Colorbar in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!