Specifying interpreter type for heatmap

3 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 9 Mar 2020
How does this differ from https://www.mathworks.com/matlabcentral/answers/509464-interpreter-type-for-specifying-heatmap-title
Deepa Maheshvare
Deepa Maheshvare on 9 Mar 2020
Edited: Deepa Maheshvare on 9 Mar 2020
Thanks. It's a duplicate and I have deleted the other question.

Sign in to comment.

Answers (0)

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!