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

12 Ansichten (letzte 30 Tage)
Rebeka
Rebeka am 15 Sep. 2022
Beantwortet: Jan am 15 Sep. 2022
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.

Antworten (1)

Jan
Jan am 15 Sep. 2022
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