Colorbar Label Interpreter Definition

39 Ansichten (letzte 30 Tage)
Georg Söllinger
Georg Söllinger am 4 Mär. 2017
Kommentiert: Georg Söllinger am 4 Mär. 2017
Hello dear Community,
I'd like to implement a formula into the label of my contourf-plot and I can't find an appropriate solution.
cb = contourcbar('Location','eastoutside');
cb.XLabel.String = leg;
This is the way how I achieved the Legend, but I cannot define the Latex Interpreter. I tried the following, but matlab throws an error ('There is no Interperter Property on the ColorBar class.') with this attempt.
set(cb,'interpreter','latex')
Can anyone help me?
Thanks in advance!

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 4 Mär. 2017
cb.Label.Interpreter = 'latex';

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by