How to set the default colorbar label text interpreter?

14 ビュー (過去 30 日間)
David Honegger
David Honegger 2016 年 12 月 5 日
回答済み: Andreas Michelsen 2018 年 4 月 3 日
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!

採用された回答

Andreas Michelsen
Andreas Michelsen 2018 年 4 月 3 日
Not possible as of 2017b, see this answer.
You can set it manually after the plot with
h.Label.Interpreter = 'latex'
where h is the colorbar handle.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by