How to plot 3 graphs in 1 figure?

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!

 Accepted Answer

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 Comments

Or tiled layout
fig = figure();
tlo = tiledlayout(fig,2,2);
nexttile
nexttile([2,1])
nexttile
Thank you both!

Sign in to comment.

More Answers (0)

Asked:

on 1 May 2021

Edited:

on 3 May 2021

Community Treasure Hunt

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

Start Hunting!