Specifying interpreter type for heatmap

4 次查看(过去 30 天)
I have the following heatmap and I want to set the title interpreter to none
load patients
tbl = table(LastName,Age,Gender,SelfAssessedHealthStatus,...
Smoker,Weight,Location);
h = heatmap(tbl,'Smoker','SelfAssessedHealthStatus');
ttl = "df_cd";
h.Title = ttl;
%h.Title.Interpreter = 'none'; Doesn't work
set(groot,'defaulttextinterpreter','none');
set(groot,'defaultAxesTickLabelInterpreter','none');
set(groot,'defaultLegendInterpreter','none');
Any suggestions on how to set the title interpreter to none?
  2 个评论
Walter Roberson
Walter Roberson 2020-3-9
How does this differ from https://www.mathworks.com/matlabcentral/answers/509464-interpreter-type-for-specifying-heatmap-title
Deepa Maheshvare
Deepa Maheshvare 2020-3-9
编辑:Deepa Maheshvare 2020-3-9
Thanks. It's a duplicate and I have deleted the other question.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by