How to write overline on top of a word in title of a plot?

33 views (last 30 days)
Hello Everyone,
I would like to add a overline on top of a word in title of a matlab plot. I am using the following:
title(["Some text '$\bar{XX}/V$', 'Interpreter', 'LaTeX' "...
"Some other text"])
I want to have the overline on top of XX. Please kindly help me with the following.
Thanks in advance.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 15 Apr 2024
Edited: Fangjun Jiang on 15 Apr 2024
title(["Some text $\bar{XX}/V$","Some other text"], 'Interpreter', 'LaTeX')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!