How to adjust colorbar on the side of contour plots?
2 views (last 30 days)
Show older comments
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 Comments
Answers (1)
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
0 Comments
See Also
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!