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

조회 수: 10 (최근 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 CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by