Borrar filtros
Borrar filtros

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

16 visualizaciones (últimos 30 días)
Maria
Maria el 3 de Oct. de 2023
Comentada: Walter Roberson el 5 de Oct. de 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')

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by