subplot with 1 large and 2 small figures
17 次查看(过去 30 天)
显示 更早的评论
Is it possible to create a subplot like this? I.e.,
% | 1 |
% |________|
% | 2 | 3 |
% | | |
0 个评论
采纳的回答
Star Strider
2023-6-15
Perhaps something like this —
x = 0:0.01:6.2;
figure
subplot(2,2,[1 2])
plot(x, sin(2*pi*4*x))
subplot(2,2,3)
plot(x, cos(2*pi*6*x))
subplot(2,2,4)
plot(x, sin(2*pi*x).*cos(2*pi*x*2))
.
0 个评论
更多回答(1 个)
Les Beckham
2023-6-15
编辑:Les Beckham
2023-6-15
tiledlayout(2, 2)
nexttile([1 2]) % first plot spans two tiles
plot(rand(1,10))
grid on
nexttile
plot(10*rand(1,10))
grid on
nexttile
plot(100*rand(1,10))
grid on
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!