How can I import multiple fig files into a single figure in a tiled layout?
7 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Jan
on 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));
0 Comments
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!