Add a bar above a character in axis labels

조회 수: 13 (최근 30일)
Luc Dewulf
Luc Dewulf 2024년 3월 23일
답변: Star Strider 2024년 3월 23일
I am using the MATLAB figure editor where you can click on graph elements to edit them, eg. axis label etc. How do you add a bar above a character in axis labels, as in to denote an average quantity for instance?

채택된 답변

Star Strider
Star Strider 2024년 3월 23일
Try this —
figure
ylabel('$\bar{c}$', 'Interpreter','latex')
.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by