Use Latex for all fonts in plot
조회 수: 50 (최근 30일)
이전 댓글 표시
Hi,
I would like to use latex on every font I use on a plot. Is there a better way to do this instead of indicating the interpreter on every line?
I already have use:
set(groot, 'defaultAxesTickLabelInterpreter','latex')
set(groot, 'defaultLegendInterpreter','latex')
which works for ticks and legend, but what about titles, numbers on colorbar and contour numbers?
Thanks in advance,
댓글 수: 0
채택된 답변
Fintan Healy
2024년 12월 7일
편집: Fintan Healy
2024년 12월 7일
set(groot, 'DefaultTextInterpreter', 'latex')
As well as the two you set, I also set the default text interpreter
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!