- What is your current formatting?
- What do you want to change it to?
- Have you checked if the answer to your question isn't in the example section of the colorbar doc?
How can I change tickformat in the colorbar.
조회 수: 32 (최근 30일)
이전 댓글 표시
How can I change tickformat in the colorbar. Regards.
댓글 수: 2
Pawel Jastrzebski
2018년 3월 13일
답변 (1개)
Walter Roberson
2018년 3월 14일
cb = colorbar();
cb.YRuler.TickLabelFormat = '%.2f';
댓글 수: 4
jonas
2019년 12월 21일
the following works in 2019a:
cb.Ruler.TickLabelFormat
Note: 'Ruler' and not 'YRuler'.
참고 항목
카테고리
Help Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!