How can I increase the size of the color bar values?

23 ビュー (過去 30 日間)
Ashfaq Ahmed
Ashfaq Ahmed 2021 年 11 月 12 日
回答済み: Mathieu NOE 2021 年 11 月 12 日
Hi guys, can you kindly tell me how can I increase the values of these numbers showed in my color bar?

採用された回答

Mathieu NOE
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 件)

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by