Add a bar above a character in axis labels

13 visualizaciones (últimos 30 días)
Luc Dewulf
Luc Dewulf el 23 de Mzo. de 2024
Respondida: Star Strider el 23 de Mzo. de 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?

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by