Effacer les filtres
Effacer les filtres

How to draw multiple plots in one picture?

2 vues (au cours des 30 derniers jours)
Steven KIM
Steven KIM le 23 Nov 2021
Commenté : Steven KIM le 23 Nov 2021
Hello, everyone :)
I want to draw a separate graph on one picture as shown in the picture below, what should I do?
I think we can use the code called "subplot". Is it possible?
I attached the .mat file below.
Number 1 vertically is the x-axis time, and number 2 vertically is the value.
The vertical odd value is time.
Help me, please.

Réponse acceptée

KSSV
KSSV le 23 Nov 2021
subplot(411)
plot(rand(100,1))
subplot(412)
plot(rand(100,1))
subplot(413)
plot(rand(100,1))
subplot(414)
plot(rand(100,1))
  1 commentaire
Steven KIM
Steven KIM le 23 Nov 2021
oh,,Thank you so much!!
I got it :)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by