anyway to set the location of number in colorbar
1 次查看(过去 30 天)
显示 更早的评论
I have a figure with fixed size, since the size is fixed, the location of number sometimes exceed the limit, leading to imcomplete display:
is there anyway to move it to a lower place (red box in Figure)
Bests,
Yu
0 个评论
回答(1 个)
Image Analyst
2019-3-11
You could use xticklabels to make them 0.005, etc.
colorbar('Ticks', [whatever], 'TickLabels', {'.0050', etc.})
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colorbar 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!