Effacer les filtres
Effacer les filtres

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

15 vues (au cours des 30 derniers jours)
Maria
Maria le 3 Oct 2023
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')

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by