How to adjust colorbar on the side of contour plots?

2 visualizaciones (últimos 30 días)
Mr M.
Mr M. el 2 de En. de 2018
Respondida: KSSV el 3 de En. de 2018
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?

Respuestas (1)

KSSV
KSSV el 3 de En. de 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

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by