How to modify the colobar settings?
显示 更早的评论
Just a simple question!!
How can I obtain following requirement for the colorbar?
- add units
- move colobar tilte to the desired position

采纳的回答
更多回答(1 个)
meghannmarie
2019-10-31
1 个投票
c = colorbar;
units = 'm';
c.TickLabels = cellfun(@(x) [x ' ' units], c.TickLabels, 'UniformOutput', false)
c.Position = [left,bottom, width,height];
类别
在 帮助中心 和 File Exchange 中查找有关 Colorbar 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
