Avoid using latex interpreter in plot titles

27 次查看(过去 30 天)
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
https://www.mathworks.com/help/matlab/ref/title.html#namevaluepairarguments
Use the 'interpreter', 'none' option to title()

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息

标签

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by