How can I increase the size of the color bar values?
17 次查看(过去 30 天)
显示 更早的评论
Hi guys, can you kindly tell me how can I increase the values of these numbers showed in my color bar?
0 个评论
采纳的回答
Mathieu NOE
2021-11-12
hello
I believe you want to have larger font for a better reading
simply create a handle associated with the colorbar and then you can modify any proprerty
example (a bit exagerated)
figure
peaks(25);
hcb=colorbar('ver'); % colorbar handle
hcb.FontSize = 15;
hcb.Title.String = "GDP range";
hcb.Title.FontSize = 20;
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colormaps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!