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

4 visualizzazioni (ultimi 30 giorni)
Tim
Tim il 10 Ott 2014
Commentato: dpb il 10 Ott 2014
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 Commenti
dpb
dpb il 10 Ott 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by