How to adjust colorbar on the side of contour plots?
2 次查看(过去 30 天)
显示 更早的评论
Is it possible to put colorbar on the left side instead of the right side? And is it possible to shift the colorbar more to the right direction?
0 个评论
回答(1 个)
KSSV
2018-1-3
Z = peaks(100) ;
surf(Z)
colorbar('westoutside')
YOu can adjust the position of colorbar..read here more: https://in.mathworks.com/help/matlab/ref/colorbar.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colormaps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!