How to write theta - theta bar as a axis label

8 ビュー (過去 30 日間)
alexandra ligeti
alexandra ligeti 2024 年 3 月 6 日
回答済み: Aquatris 2024 年 3 月 6 日
Good afternoon,
I am trying to plot a Bland Altman plot, but I would like to have the x-axis labelled as theta- theta bar however, this should be in mathematical symbols.
How would I do this?
I have tried a couple of variations:
for y = 1:20
scatter(young_av{1,y}, young_er{1,y}, 10, "Filled");
hold on
scatter(young_av{1,y}, young_er{1,y}, 10, "Filled");
grid on
xlim([-30 50])
ylim([-10 10])
xlabel('\theta' - '$\bar{\theta}$', 'Interpreter','Latex')
ylabel('Error (deg)')
legend("Young")
end

採用された回答

Aquatris
Aquatris 2024 年 3 月 6 日
scatter(1:10,rand(1,10) , "Filled");
grid on
xlabel('$\theta$ - $\bar{\theta}$','interpreter', 'latex')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by