Clear Filters
Clear Filters

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

15 views (last 30 days)
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')

Answers (1)

Walter Roberson
Walter Roberson on 3 Oct 2023
title('$Scattering Phase Function, \tilde {\beta }$', 'interpreter', 'latex')
  4 Comments
Maria
Maria on 5 Oct 2023
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 on 5 Oct 2023
How about
title('$Scattering\,Phase\,Function, \widetilde {\beta }$', 'interpreter', 'latex')

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!