Setting the colorbar ticks
4 views (last 30 days)
Show older comments
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!
0 Comments
Answers (1)
Ameer Hamza
on 17 Jun 2020
Edited: Ameer Hamza
on 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 Comments
See Also
Categories
Find more on Colorbar in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!