Move colorbar location to the east in tiled layout figure

I have a fugure that looks horrible due to the colorbar overlaying the tiledlayout.
Any ideas on how to move the colorbar to the east so it's outside of the figure?
Thanks.

Respuestas (1)

Sindar
Sindar el 29 de Sept. de 2020
does this work:
cb = colorbar;
cb.Layout.Tile = 'east';
(from the colorbar documentation)

Preguntada:

el 28 de Sept. de 2020

Respondida:

el 29 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by