How do you put tilde (~) over a greek letter beta (β) in a chart title?

12 次查看(过去 30 天)
I'm trying to title my graph but when I use the following code, my resulting graph is titled \tilde{β} and doesn't represent the actual tilde
title('Scattering Phase Function, \tilde {\beta }')
xlabel('Angle')
ylabel('per sr')
legend('DI', 'Phyto', 'Lafayette', 'Elizabeth')

回答(1 个)

Walter Roberson
Walter Roberson 2023-10-3
title('$Scattering Phase Function, \tilde {\beta }$', 'interpreter', 'latex')
  4 个评论
Maria
Maria 2023-10-5
Ok so it does print it out correctly, but I need the tilde over the beta (θ) (at least over just the beta)

请先登录,再进行评论。

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by