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.

Risposte (1)

does this work:
cb = colorbar;
cb.Layout.Tile = 'east';
(from the colorbar documentation)

Richiesto:

il 28 Set 2020

Risposto:

il 29 Set 2020

Community Treasure Hunt

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

Start Hunting!

Translated by