Add a bar above a character in axis labels

12 ビュー (過去 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 Center および File ExchangeLabels and Annotations についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by