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

조회 수: 87 (최근 30일)
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?

채택된 답변

Walter Roberson
Walter Roberson 2015년 11월 16일
Try
set(groot, 'DefaultAxesTickLabelInterpreter', 'none')

추가 답변 (1개)

Tom Grana
Tom Grana 2018년 5월 16일
편집: Tom Grana 2018년 5월 16일
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
Paul Sampson
Paul Sampson 2022년 4월 7일
Thank you! If more people came back 2.5 years later to answer their own question, the internet would be a better place.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by