Change multiple exponent on x-axis.
이전 댓글 표시
I have a plot with x-values between 0.85*10^5 and 0.115*10^5. I want to display the x-values as multiples of 10^3. How can I do that?
I looked around on forums and found the following method:
xtick = get(gca, 'xtick') xticklabel = strread(sprintf('%.0f;', xtick), '%s', 'delimiter', ';'); set(gca,'xticklabel', xtick)
But this method just converts the values into integers.
Any ideas?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!