How to adjust colorbar on the side of contour plots?

2 ビュー (過去 30 日間)
Mr M.
Mr M. 2018 年 1 月 2 日
回答済み: KSSV 2018 年 1 月 3 日
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 Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by