Hi, I want to plot 3 graphs in one figure, arranging them two on the left and one on the right.
With subplot, I managed to arrange them only in this way:
Thank you!

 Akzeptierte Antwort

dpb
dpb am 1 Mai 2021

1 Stimme

There's an example of 2 on top and one on bottom that should have given the clue of how to bo about it...
hAx(1)=subplot(2,2,1);
hAx(2)=subplot(2,2,3);
hAx(3)=subplot(2,2,[2 4]);
results in axes as shown

2 Kommentare

Adam Danz
Adam Danz am 2 Mai 2021
Bearbeitet: Adam Danz am 3 Mai 2021
Or tiled layout
fig = figure();
tlo = tiledlayout(fig,2,2);
nexttile
nexttile([2,1])
nexttile
Elia Paini
Elia Paini am 2 Mai 2021
Thank you both!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Mai 2021

Bearbeitet:

am 3 Mai 2021

Community Treasure Hunt

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

Start Hunting!

Translated by