Colorbar Label Interpreter Definition

조회 수: 70 (최근 30일)
Georg Söllinger
Georg Söllinger 2017년 3월 4일
댓글: Georg Söllinger 2017년 3월 4일
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!

채택된 답변

Walter Roberson
Walter Roberson 2017년 3월 4일
cb.Label.Interpreter = 'latex';

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by