How to change the colorbar label distance

조회 수: 11 (최근 30일)
Eryang Wang
Eryang Wang 2023년 9월 21일
댓글: Eryang Wang 2023년 9월 21일
Hello everyone,
how can I change the label distance in the colorbar? Thanks!

채택된 답변

Florian Bidaud
Florian Bidaud 2023년 9월 21일
편집: Florian Bidaud 2023년 9월 21일
c = colorbar;
clim([84 100])
c.Ticks = [84:2:100];
c.TickLabels{1} = 0;
  댓글 수: 3
Florian Bidaud
Florian Bidaud 2023년 9월 21일
You can accept the answer if you're happy with it :)
Eryang Wang
Eryang Wang 2023년 9월 21일
Yes, I have just accepted it :) Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Color and Styling에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by