How can I import multiple fig files into a single figure in a tiled layout?

7 ビュー (過去 30 日間)
Rebeka
Rebeka 2022 年 9 月 15 日
回答済み: Jan 2022 年 9 月 15 日
I want to import multiple figures into one figure in a tiled layout where there will be a single row two column, but 2nd column will have two rows and 1 column. Using subplot I could only get a matrix layout, by defining how many rows or columns will be required.

回答 (1 件)

Jan
Jan 2022 年 9 月 15 日
Using a vector as 3rd input in subplot allows to span an axes over multiple blocks of the layout:
FigH = figure;
subplot(2, 3, 1);
plot(rand(5));
subplot(2, 3, 2);
plot(rand(5));
subplot(2, 3, [4,5]);
plot(rand(5));
subplot(2, 3, [3, 6]);
plot(rand(5));

カテゴリ

Help Center および File ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by