Add a bar above a character in axis labels

13 Ansichten (letzte 30 Tage)
Luc Dewulf
Luc Dewulf am 23 Mär. 2024
Beantwortet: Star Strider am 23 Mär. 2024
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?

Akzeptierte Antwort

Star Strider
Star Strider am 23 Mär. 2024
Try this —
figure
ylabel('$\bar{c}$', 'Interpreter','latex')
.

Weitere Antworten (0)

Kategorien

Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by