subplot with 1 large and 2 small figures
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
HC98
am 15 Jun. 2023
Bearbeitet: Les Beckham
am 15 Jun. 2023
Is it possible to create a subplot like this? I.e.,
% | 1 |
% |________|
% | 2 | 3 |
% | | |
0 Kommentare
Akzeptierte Antwort
Star Strider
am 15 Jun. 2023
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 Kommentare
Weitere Antworten (1)
Les Beckham
am 15 Jun. 2023
Bearbeitet: Les Beckham
am 15 Jun. 2023
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 Kommentare
Siehe auch
Kategorien
Mehr zu Subplots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!