Filter löschen
Filter löschen

Implement multiples plots [figures()] into one figure()

5 Ansichten (letzte 30 Tage)
Luiz Carlos
Luiz Carlos am 21 Mär. 2023
Beantwortet: Piyush am 23 Mär. 2023
I made several plots and saved them using figure(). I have many plots, and I wanted to merge them all into one to avoid opening too many windows. How to implement to open all in a single window?
  1 Kommentar
Rik
Rik am 22 Mär. 2023
The tags already show you are aware of the solution: subplot.
One semantic note: you can't save plots with the figure function, nor do figures contain plots. Figures contain axes, which can contain plots. You can put multiple axes in one figure, which is what the subplot function helps you to do.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Piyush
Piyush am 23 Mär. 2023
You can do it using subplots function. Link for the function is given below:
OR
You can also use “hold on” function. Checkout the below link for the same:
1

Weitere Antworten (0)

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by