How to set the default colorbar label text interpreter?
12 次查看(过去 30 天)
显示 更早的评论
I can't seem to find the appropriate object property to set the default text interpreter for the colorbar label.
Setting the default text interpreter ... set(groot,'defaultTextInterpreter','latex') ... gets the job done for axes labels, but it does not carry over to colorbar labels. The colorbar class does allow for setting the default tick label interpreter, but no luck for the label interpreter.
Can anyone point me in the right direction? Thanks!
0 个评论
采纳的回答
Andreas Michelsen
2018-4-3
You can set it manually after the plot with
h.Label.Interpreter = 'latex'
where h is the colorbar handle.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colorbar 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!