Avoid using latex interpreter in plot titles

54 Ansichten (letzte 30 Tage)
Deepa Maheshvare
Deepa Maheshvare am 6 Nov. 2019
Beantwortet: Walter Roberson am 6 Nov. 2019
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Tags

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by