How can I increase the size of the color bar values?
조회 수: 16 (최근 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!