How to change the colorbar label distance
2 views (last 30 days)
Show older comments
Eryang Wang
on 21 Sep 2023
Commented: Eryang Wang
on 21 Sep 2023
Hello everyone,
how can I change the label distance in the colorbar? Thanks!
0 Comments
Accepted Answer
Florian Bidaud
on 21 Sep 2023
Edited: Florian Bidaud
on 21 Sep 2023
c = colorbar;
clim([84 100])
c.Ticks = [84:2:100];
c.TickLabels{1} = 0;
3 Comments
More Answers (0)
See Also
Categories
Find more on Colormaps 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!