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?

回答(1 个)

KSSV
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

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by