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

답변 (1개)

Adam Danz
Adam Danz 2023년 3월 23일
편집: Adam Danz 2023년 3월 23일

0 개 추천

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';

카테고리

제품

릴리스

R2022b

질문:

2023년 3월 23일

편집:

2023년 3월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by