Colorbar Label Interpreter Definition

70 visualizaciones (últimos 30 días)
Georg Söllinger
Georg Söllinger el 4 de Mzo. de 2017
Comentada: Georg Söllinger el 4 de Mzo. de 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!

Respuesta aceptada

Walter Roberson
Walter Roberson el 4 de Mzo. de 2017
cb.Label.Interpreter = 'latex';

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by