Plotting graphs from different m-files

3 vues (au cours des 30 derniers jours)
Bhagat
Bhagat le 7 Mar 2011
Commenté : Anita MONGSHI le 19 Jan 2023
I got o/p graphs for 3 separate m-files with same x- axis and y-axis parameter. Now, I want to compare these graphs i.e. plot all the 3 results on one single graph. Is it possible & if yes then how ?

Réponse acceptée

Matt Tearle
Matt Tearle le 7 Mar 2011
hold on
Just make sure that your scripts don't clear any figures when they run.
  1 commentaire
Anita MONGSHI
Anita MONGSHI le 19 Jan 2023
Very helpfu. Thank you.

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 7 Mar 2011
You also need to ensure that the scripts do not create their own figures to plot into.

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by