Use Latex for all fonts in plot

47 次查看(过去 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,

采纳的回答

Fintan Healy
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 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by