Avoid using latex interpreter in plot titles

I am trying the following
s = struct('a','a_dot')
plot(1:10,1:10)
title(s.a)
I want to retain the title name as 'a_dot' and avoid the default formatting done by latex interpreter.
Any suggestion on how this can be done?

 採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 6 日

1 投票

https://www.mathworks.com/help/matlab/ref/title.html#namevaluepairarguments
Use the 'interpreter', 'none' option to title()

その他の回答 (0 件)

カテゴリ

製品

リリース

R2019a

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by