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?
1 次查看(过去 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 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!