Azzera filtri
Azzera filtri

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

16 visualizzazioni (ultimi 30 giorni)
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)

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

Accedi per commentare.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by