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

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')

Risposte (1)

title('$Scattering Phase Function, \tilde {\beta }$', 'interpreter', 'latex')

4 Commenti

unfortunately did not work
wait it did work! Thank you!!
Ok so it does print it out correctly, but I need the tilde over the beta (θ) (at least over just the beta)
How about
title('$Scattering\,Phase\,Function, \widetilde {\beta }$', 'interpreter', 'latex')

Accedi per commentare.

Categorie

Tag

Richiesto:

il 3 Ott 2023

Community Treasure Hunt

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

Start Hunting!

Translated by