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

9 次查看(过去 30 天)
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));

Community Treasure Hunt

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

Start Hunting!

Translated by