Add a bar above a character in axis labels

13 views (last 30 days)
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?

Accepted Answer

Star Strider
Star Strider on 23 Mar 2024
Try this —
figure
ylabel('$\bar{c}$', 'Interpreter','latex')
.

More Answers (0)

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!