When I am plotting contour plot along with colorbar automatically the scale of the z variable and colorbar becomes like 0.23(any value) x 10^4.Why?
조회 수: 5 (최근 30일)
이전 댓글 표시
How can I stop the scale of the z variable and colorbar from becoming something like 0.23(any value) x 10^4. Why is this happening and how do I stop it? I have tried Clim and caxis without any success!
댓글 수: 0
채택된 답변
Walter Roberson
2013년 4월 22일
The only known way to stop it is to set your own axis labels. For example,
zticks = get(gca, 'ztick');
set(gca, 'zticklabel', cellstr(num2str(zticks(:))))
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Colorbar에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!