How can I change the default text interpreter for a legend in R2014b?

7 views (last 30 days)
In MATLAB R2014a, in my startup.m file I could set the default text interpreter to 'none' using:
 
set(0, 'DefaultTextInterpreter', 'none')
That doesn't seem to work in R2014b for legends. It works fine for titles and x- and y-labels, but it doesn't work for legends.
How can I change that in R2014b?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 5 Nov 2014
The text interpreter is now a separate property for legends called 'Interpreter'. If you want to change the default value of that property, you would have to set it in the startup.m file in addition to setting the default text interpreter property:
 
set(groot, 'DefaultTextInterpreter', 'none')
set(groot, 'DefaultLegendInterpreter', 'none')

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2014b

Community Treasure Hunt

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

Start Hunting!