MATLAB Answers

Divide your plot to four quarters and plot each of the four curves in a separate quarter of the plot.

12 views (last 30 days)
How to do i divide my plot into different quarters


Show 1 older comment
Abdel Rahman   Attia
Abdel Rahman Attia on 6 Apr 2019
No that's not what i mean; I mean if i have sin(3t) for example ,and i want to divide that function and plot each part into a different quarter.

Sign in to comment.

Accepted Answer

A. Sawas
A. Sawas on 6 Apr 2019
The only way to create multiple plots in a figure is to use subplots as mentioned by per isakson
You need to decide how to divide the plot then plot each part on a separeat subplot.
For example the following code divides a sin signal into four parts:
subplot(2,2,1); plot(t1, sin(t1));
subplot(2,2,2); plot(t2, sin(t2));
subplot(2,2,3); plot(t3, sin(t3));
subplot(2,2,4); plot(t4, sin(t4));

More Answers (0)


Community Treasure Hunt

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

Start Hunting!