![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/798224/image.png)
How can I increase the size of the color bar values?
33 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ashfaq Ahmed
am 12 Nov. 2021
Beantwortet: Mathieu NOE
am 12 Nov. 2021
Hi guys, can you kindly tell me how can I increase the values of these numbers showed in my color bar?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/798199/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/798199/image.png)
0 Kommentare
Akzeptierte Antwort
Mathieu NOE
am 12 Nov. 2021
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/798224/image.png)
figure
peaks(25);
hcb=colorbar('ver'); % colorbar handle
hcb.FontSize = 15;
hcb.Title.String = "GDP range";
hcb.Title.FontSize = 20;
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Colormaps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!