Currently have a 1x2 tiledlayout. I have the colorbar plotted below the 2nd plot using colorbar('southoutside')
Question:
How can I stretch it out so that the colorbar is underneath the plot

Antworten (1)

Adam Danz
Adam Danz am 23 Mär. 2023
Bearbeitet: Adam Danz am 23 Mär. 2023

0 Stimmen

Are you asking how to extend the colorbar to be under both axes?
Set the colorbar's Layout tile to south.
tcl = tiledlayout(1,2);
nexttile()
nexttile()
cb = colorbar();
cb.Layout.Tile = 'south';

Produkte

Version

R2022b

Gefragt:

am 23 Mär. 2023

Bearbeitet:

am 23 Mär. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by