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 で Labels and Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
