필터 지우기
필터 지우기

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

조회 수: 15 (최근 30일)
Maria
Maria 2023년 10월 3일
댓글: Walter Roberson 2023년 10월 5일
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)
Walter Roberson
Walter Roberson 2023년 10월 5일
How about
title('$Scattering\,Phase\,Function, \widetilde {\beta }$', 'interpreter', 'latex')

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by