Heatmap title - Interpreter (AppDesigner)
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Ameer Hamza
2020-11-18
It still does not support Interpreter. The workaround is to escape the underscore character
h1.Title = strrep(file, '_', '\_')
更多回答(1 个)
Benjamin Kraus
2023-9-20
h1 = heatmap(magic(4));
h1.Title = 'file_name';
h1.Interpreter = 'none';
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!