Colorbar for a Tiled Layout

101 ビュー (過去 30 日間)
Cesium Modern
Cesium Modern 2023 年 3 月 23 日
編集済み: Adam Danz 2023 年 3 月 23 日
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 日
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';

カテゴリ

Help Center および File ExchangeColor and Styling についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by