How to adjust colorbar on the side of contour plots?

2 views (last 30 days)
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?

Answers (1)

KSSV
KSSV on 3 Jan 2018
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

Categories

Find more on Colormaps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!