Combining already plotted figures into one figure

So i have these two figures plotted in matlab. My assignment is two have them seperate while also having a figure with both lines in it. I cant seem to find any help getting them to merge.

Réponses (1)

Anshika Chourasia
Anshika Chourasia le 12 Oct 2021

0 votes

Hi,
Please refer this link for combining two figures into a single figure: Merging two figures - MATLAB Answers - MATLAB Central (mathworks.com) .
Or simply, “hold on” could also be a possible workaround. Visit link for more information: Retain current plot when adding new plots - MATLAB hold (mathworks.com).

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by