フィルターのクリア

Russian characters in the latex interpreter when signing the axes of the graph

3 ビュー (過去 30 日間)
I need to combine Russian characters and Latex characters in one place. Is there a solution for this? I also can't set the default text size at the beginning of the code.
close all; clc;
set(0,'DefaultAxesFontSize',24,...
'DefaultAxesFontName','isocpeur','DefaultAxesFontAngle','italic',...
'DefaultAxesXGrid', 'on','DefaultAxesYGrid', 'on','DefaultAxesZGrid', 'on',...
'defaultTextInterpreter','latex');
set(groot,'defaultLineLineWidth', 2.0, 'defaultLineMarkerSize', 25)
xlabel('$\lambda$') %xlabel is $x$
ylabel('Уровень $\xsi$')
t = text(0.5, 0.5, '$\frac{1}{2 \cdot \pi} $ длина')
s = t.FontSize;
t.FontSize = 24;

採用された回答

Walter Roberson
Walter Roberson 2023 年 1 月 15 日
Sorry, that is not possible in MATLAB itself.
It might possibly be possible in text generated through the Report Generator.... maybe... perhaps.
MATLAB's latex interpreter cannot handle characters outside of U+0000 to U+00FF .
The tex interpreter and the 'none' interpreter can handle up to U+FFFF (or some approximation to that.)

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by