필터 지우기
필터 지우기

anyway to set the location of number in colorbar

조회 수: 1 (최근 30일)
Yu Li
Yu Li 2019년 3월 11일
댓글: Yu Li 2019년 3월 11일
I have a figure with fixed size, since the size is fixed, the location of number sometimes exceed the limit, leading to imcomplete display:
contour_test.jpg
is there anyway to move it to a lower place (red box in Figure)
Bests,
Yu

답변 (1개)

Image Analyst
Image Analyst 2019년 3월 11일
You could use xticklabels to make them 0.005, etc.
colorbar('Ticks', [whatever], 'TickLabels', {'.0050', etc.})
  댓글 수: 1
Yu Li
Yu Li 2019년 3월 11일
The weakness of this method is that, if the value becomes too small, such as 5e-10, displaying it in this way may not be good. the best choice maybe move it to an appropriate location.

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

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by