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,

 採用された回答

Fintan Healy
Fintan Healy 2024 年 12 月 7 日
編集済み: Fintan Healy 2024 年 12 月 7 日

0 投票

set(groot, 'DefaultTextInterpreter', 'latex')
As well as the two you set, I also set the default text interpreter

その他の回答 (0 件)

カテゴリ

製品

リリース

R2024b

タグ

質問済み:

2024 年 12 月 5 日

編集済み:

2024 年 12 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by