Set interval for colorbar
Show older comments
Dear all, I used
colormap bone
colorbar
But I want to have a color bar like this (intervals splite colors like this):

I searched and used this:
colorbar('Ticks', 0:0.1:1);
But it does not work and doesn't change anything. Any advice is highly appreciated.
Thank you in advance
Accepted Answer
More Answers (0)
Categories
Find more on Color and Styling 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!