how to combine two graphs in one image from two m files?

2 views (last 30 days)
Hi,
I have two m files which have the same solution code for solving parameters such as P and X.
lets say one m file is for square shape and another of circle shape. From each m file, it solves for P and X.
I want to graph the two results from these m files into one figure because currently i am just using the data cursor function to obtain data points and graph it in excel which is quite tedious.
any hints will be appreciated.
  3 Comments
dpb
dpb on 10 Oct 2014
So what from each do you want to plot together?
Either write those to a file and read in another script or turn the scripts into functions that return those values.

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!