Latex Interpreter - mean bar with subscripts

27 vues (au cours des 30 derniers jours)
Sarah
Sarah le 2 Oct 2014
Morning all,
I am trying to create an axis label for a plot with subscripts and a mean bar or peak accent over certain characters. I am looking for Cp _A _L with a mean bar or hat on the C with A and L being subscripts. I can get the Cp with the accent on the C but have not been able to add the subscripts correctly. I am still new to latex within MATLAB.
ylabel('$\bar{C}{p}$','FontAngle','italic','Interpreter','Latex')
With thanks Sarah

Réponse acceptée

Mischa Kim
Mischa Kim le 2 Oct 2014
Use
ylabel('$\bar{C}_{p_{A_L}}$','FontAngle','italic','Interpreter','Latex')

Plus de réponses (1)

Kelly Kearney
Kelly Kearney le 2 Oct 2014
Like this?
ylabel('$\bar{Cp}_{AL}$', 'interpreter', 'latex')

Catégories

En savoir plus sur Labels and Annotations dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by