Plotting graphs from different m-files

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 ?

 Accepted Answer

hold on
Just make sure that your scripts don't clear any figures when they run.

More Answers (1)

You also need to ensure that the scripts do not create their own figures to plot into.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!