How do I change the default text interpreter for a plot axis label in R2015a?

95 visualizaciones (últimos 30 días)
In previous versions on Matlab, I could set the default text interpreter to 'none' to avoid undesired subscripts in my plots by using this line in my startup file
set(0, 'DefaultTextInterpreter', 'none')
In 2015a this does not effect axis labels or legends. I can now effect legends with a separate command in my startup file using
set(0, 'DefaultLegendInterpreter', 'none')
And I can effect axis labels locally in a plotting script
set(gca, 'TickLabelInterpreter', 'none')
But how do I effect axis labels on a global level?

Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Nov. de 2015
Try
set(groot, 'DefaultAxesTickLabelInterpreter', 'none')

Más respuestas (1)

Tom Grana
Tom Grana el 16 de Mayo de 2018
Editada: Tom Grana el 16 de Mayo de 2018
Looking back at this 2.5 years later, this is what I use in my startup.m:
set(0, 'DefaultTextInterpreter', 'none')
set(0, 'DefaultLegendInterpreter', 'none')
set(0, 'DefaultAxesTickLabelInterpreter', 'none')
  1 comentario
Paul Sampson
Paul Sampson el 7 de Abr. de 2022
Thank you! If more people came back 2.5 years later to answer their own question, the internet would be a better place.

Iniciar sesión para comentar.

Categorías

Más información sobre Data Distribution Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by