Latex Interpreter - mean bar with subscripts

조회 수: 32 (최근 30일)
Sarah
Sarah 2014년 10월 2일
답변: Mischa Kim 2014년 10월 2일
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

채택된 답변

Mischa Kim
Mischa Kim 2014년 10월 2일
Use
ylabel('$\bar{C}_{p_{A_L}}$','FontAngle','italic','Interpreter','Latex')

추가 답변 (1개)

Kelly Kearney
Kelly Kearney 2014년 10월 2일
Like this?
ylabel('$\bar{Cp}_{AL}$', 'interpreter', 'latex')

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by