Heatmap title - Interpreter (AppDesigner)
4 views (last 30 days)
Show older comments
Hello, I don't seem to be able to allow underscores in the title of heatmaps (Im using filenams that have underscores in them)
h1.Title = file;
set(h1,'Interpreter','tex');
I have read post's saying that it was not possible but they were dated 2017...I was wondering if was now possible
Thanks
Jason
0 Comments
Accepted Answer
Ameer Hamza
on 18 Nov 2020
It still does not support Interpreter. The workaround is to escape the underscore character
h1.Title = strrep(file, '_', '\_')
2 Comments
More Answers (1)
Benjamin Kraus
on 20 Sep 2023
h1 = heatmap(magic(4));
h1.Title = 'file_name';
h1.Interpreter = 'none';
0 Comments
See Also
Categories
Find more on Data Distribution Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!