How to set the default colorbar label text interpreter?
조회 수: 14 (최근 30일)
이전 댓글 표시
I can't seem to find the appropriate object property to set the default text interpreter for the colorbar label.
Setting the default text interpreter ... set(groot,'defaultTextInterpreter','latex') ... gets the job done for axes labels, but it does not carry over to colorbar labels. The colorbar class does allow for setting the default tick label interpreter, but no luck for the label interpreter.
Can anyone point me in the right direction? Thanks!
댓글 수: 0
채택된 답변
Andreas Michelsen
2018년 4월 3일
You can set it manually after the plot with
h.Label.Interpreter = 'latex'
where h is the colorbar handle.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Labels and Annotations에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!