Matlab figures stuck in roman (serif) font - including tooltip dropdown

4 ビュー (過去 30 日間)
Gavin
Gavin 2023 年 7 月 3 日
回答済み: Gavin 2023 年 7 月 3 日
I seem to have an issue with my figure window being stuck in a serif font. I don't recall setting anything to this.
I have tried various combos of setting the font of the figure via:
set(gca, 'FontName', 'SansSerif')
...and others, to no avail (I cannot set individual fonts for axes, etc.)
Worth noting: it appears that the figure window "flashes" twice, and set this serif'd font, like the figure is redrawing and changing the font. Am I missing some setting here? Any idea what is going on? worth noting that the figure tool tips also are in this serif'd font, see image below:

回答 (1 件)

Gavin
Gavin 2023 年 7 月 3 日
Answering my own question:
My interpreter was stuck in "LaTex" (or "latex").
I fixed this by setting my default text interpreter to default:
set(groot,'defaulttextinterpreter','none');
set(groot, 'defaultAxesTickLabelInterpreter','none');
set(groot, 'defaultLegendInterpreter','none');

カテゴリ

Help Center および File ExchangeGraphics Objects についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by